On Wed, Aug 26, 2009 at 10:54 PM, naga raja<[email protected]> wrote:
> hi,
> i tried to transfer  the file through SCP
>  $scp filename usern...@inetaddr: /path
> but when i execute the command it shows
> ssh: connection refused
> lost connection
>

scp and ssh use the same wirte protocol but sftp uses a different protocol but
uses the same pipe that ssh sets up.

So all will work if you can connect to the ssh port.

$ nc -v inetaddr 22

will tell you if you can connect. netcat is king as always. ;)

You cannot give space between address and path.

$ scp filename usern...@ipaddr:/path

You can leave aside the path and it will go to home directory, but
colon is critical.

-Girish

-- 
Gayatri Hitech
web: http://gayatri-hitech.com

SpamCheetah Spam filter:
http://spam-cheetah.com
_______________________________________________
To unsubscribe, email [email protected] with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to