Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Notices

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-23-2016, 01: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
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 03:36 PM.