Do you have a question? Post it now! No Registration Necessary. Now with pictures!
April 14, 2005, 7:05 pm
rate this thread
remotely like "ssh user@computer command" and just have it run the
command and return. Is there anyway to have that wait until the
command on the remote side actually exits before ssh returns on my end?
So essentially when I run this ssh command, I want it to just sit
there until the command on the remote end actually quits. Is this
I need to be able to run a remote command, wait for it to finish, then
transfer the files it creates over, so I'll need it to just sit there
until it's done creating those file before I issue the SCP command.
Re: Wait for command to finish
ssh normally runs until the process on the other end closes its file
descriptors for standard input, output and error. You could try
ssh user@computer -c "your_command; echo"
"I deleted a file from my PC last week and I have just realized that I
need it. If I turn my system clock back two weeks will I have my file
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum