When I'm connecting to server from my local desktop - it is connecting.
When I'm using scp
over port 22 - have timeout.
I'm using following commands to connect via SSH:
ssh -p 22 [email protected]
and it is connected and I can log in
After that I want to copy the file from the server IP 192.168.12.10
:
scp -P 22 /home/user1/Desktop/1.txt [email protected]:/home/user2/Desktop
Her I'm getting the following error
ssh: connect to host 192.168.12.10 port 22: Connection timed out
lost connection
In Ubuntu 10.04 everything works fine.
I am getting problem for Ubuntu 12.04 only. I can connect to server using ssh
and I cannot copy the file using scp
.
What is the problem?
scp
using Ubuntu 10.04, and cannot copy from same server using Ubuntu 12.04. Am I correct?