On Tue, Apr 13, 2010 at 10:37 PM, Sameed Ahmed <[email protected]> wrote: > Hi > Can anyone help me on ssh .. > i want a script to run ssh when system restart/reboot but it should run > in back ground. i dnt want any terminal. i just want generate port via > ssh. For log in i will use ssh keys.
I am not sure what exactly you want to do. But from what I understand, you could start screen in the background and run ssh inside that. You can then attach that screen session to your terminal whenever you want to use it. I had done something similar with rtorrent some time ago. See http://mehulved.wordpress.com/2008/07/16/start-rtorrent-using-init-scripts/ -- http://mm.glug-bom.org/mailman/listinfo/linuxers

