Re: Initiate SSH session from other side?



"dspfun" <dspfun@xxxxxxxxxxx> writes:

Ok, thank you! This means that it is enough to have autossh running on
the inside (work) computer since one can manually enter the command :
homebox$ ssh -p 6666 workusername@xxxxxxxxx
from home?

Yeah.

The use of having autossh running on the home computer would be to save
the work of entering the command
homebox$ ssh -p 6666 workusername@xxxxxxxxx
manually?

No. The use of autossh on the work computer would handle the "what
if" of if the ssh session got dropped due to an intermittent
connection over the remote link, then the ssh session would get
reestablished from teh work computer to home computer (and its
corresponding reverse home->work port forwarding). This would
eliminate the need to run ssh in a crontab on the work computer.


--
Todd H.
http://www.toddh.net/
.



Relevant Pages

  • Re: Really need help on this one
    ... Is there a way to read the output of a particular command into ... Heres a better example using ssh. ... set timeout $timeout ... exec kill -9 $pid ...
    (comp.lang.tcl)
  • RE: midnight commander and ssh sftp
    ... midnight commander and ssh sftp ... which is displayed at the bottom of the MC panel. ... "Left file command options right" at the top of the MC ... MC SSH session with the remote host by hitting F10 key. ...
    (freebsd-questions)
  • Re: [Info-ingres] problems with ssh
    ... Check the SSHD log on the server for errors. ... ancient version of SSH, unfortunately. ... the command seems to have functioned - but just wont terminate and leaves a process hanging around. ... Duckman: You got anymore of those glues? ...
    (comp.databases.ingres)
  • Scripts using SSH and SSH_ASKPASS
    ... To test SSH scripts you better destroy the control TTY. ... The trick is to run YOUR script on YOUR local ... As for the password relaying command: this needs not be an X command. ... # we read one line from a temporary pipe. ...
    (comp.security.ssh)
  • Re: embedding sshd into a server
    ... Right now it listens on a ... Copy the normal ssh config files to a new "privatessh" config: ... A simple way to force a certain command is to change ...
    (comp.security.ssh)