Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > Scripting


Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
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/

   crt.Screen.Send("ssh -oStrictHostKeyChecking=no root@" + host + '\r')
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 04:07 PM.