1
I am using Cygwin on Windows 7. I have installed OpenSSH client and i am using it connect to Ubuntu server installed on virtualbox through localhost. I am connecting through ssh with this command:
ssh -p 3022 root@127.0.0.1
But when I try to use the same command to connect through sftp I get this message:
ssh: Could not resolve hostname 3022: Name or service not known
Connection closed
The command I am using is this
sftp -p 3022 root@127.0.0.1
Any idea why I am able to connect through ssh but not through sftp?