shanep-server
September 4th, 2009, 10:04 AM
I got a ssh server going on ubuntu hardy desktop. This is my server on my local network behind a wireless router. I have ubuntu jaunty on my laptop. I can transfer files from the laptop to the server via terminal but I can't get files from the server too the laptop.
My laptop is shane@shane-laptop
My desktop server is shane@shane-desktop
When I send files from the laptop to the server I am using scp from the terminal on my laptop ... so in the terminal it shows shane@shane-laptop
When I ssh into my server my terminal on my laptop shows shane@shane-desktop
So if i'm on laptop terminal shane@shane-laptop I can send files from the laptop to the server via scp
When I try to send files from the server too the laptop over my local network ( desktop server cat5 connected an laptop wifi ) i'm on the laptop in ssh connected to the server. My laptop terminal shows shane@shane-desktop> and I type in :
scp /home/shane/Desktop/puppy.iso shane@ip:/home/shane/Desktop/
when I send this I receive the following
ssh: connect to host ip port 22: connection refused
lost connection
I just recently added ufw enable on both computers an opened up port 22 on the firewall so that shouldn't really effect anything. As I stated i was having these problems before I enabled ufw.
I'm not sure what the malfuntion is but any suggestions would be appreciated!
My laptop is shane@shane-laptop
My desktop server is shane@shane-desktop
When I send files from the laptop to the server I am using scp from the terminal on my laptop ... so in the terminal it shows shane@shane-laptop
When I ssh into my server my terminal on my laptop shows shane@shane-desktop
So if i'm on laptop terminal shane@shane-laptop I can send files from the laptop to the server via scp
When I try to send files from the server too the laptop over my local network ( desktop server cat5 connected an laptop wifi ) i'm on the laptop in ssh connected to the server. My laptop terminal shows shane@shane-desktop> and I type in :
scp /home/shane/Desktop/puppy.iso shane@ip:/home/shane/Desktop/
when I send this I receive the following
ssh: connect to host ip port 22: connection refused
lost connection
I just recently added ufw enable on both computers an opened up port 22 on the firewall so that shouldn't really effect anything. As I stated i was having these problems before I enabled ufw.
I'm not sure what the malfuntion is but any suggestions would be appreciated!