View Single Post
  #1  
Old 08-23-2016, 02:07 PM
rleon rleon is offline
Registered User
 
Join Date: Jan 2008
Posts: 116
send scp command with path .

How do I send an scp command?

I cant seem to be able to figure out how to do the characters after the host.

scp -p -r myfile root@host:/path/to/dir/

Code:
   crt.Screen.Send("ssh -oStrictHostKeyChecking=no root@" + host + '\r')
thanks
Reply With Quote