Background process for ssh port forwarding
Micah Elliott
mde at micah.elliott.name
Tue Nov 15 10:38:23 EST 2005
On Nov 15, Jesse Rosenthal wrote:
> Whatever I do, though, I'll need to use pexpect to spawn the
> processes, since I'll need to log in to ssh servers with a password.
You might save yourself this effort by setting up ssh for
non-interactive use with keys instead of password authentication:
$ cd ~/.ssh
$ chmod 700 .
$ ssh-keygen -t rsa # just keep pressing <enter>
$ cp id_rsa.pub authorized_keys2
--
_ _ ___
|V|icah |- lliott <>< mde at micah.elliott.name
" " """
More information about the Python-list
mailing list