Hi Sameed,
                        Instead of writing script, why don't you enabled 
sshd service on all runlevels using following command
 
#chkconfig --level 0123456  sshd on
#chkconfig --list | grep sshd <-- this is to verify above command. 


 


With regards 
Vikrant Telkar 


--- On Tue, 4/13/10, Sameed Ahmed <[email protected]> wrote:


From: Sameed Ahmed <[email protected]>
Subject: [LinuxVadaPav] SSH in background
To: "Linux_Mantra" <[email protected]>, "linuxkings" 
<[email protected]>, "linuxvadapav" <[email protected]>
Date: Tuesday, April 13, 2010, 10:36 PM


  



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. 

SAMEED AHMED

[Non-text portions of this message have been removed]









      

[Non-text portions of this message have been removed]

Reply via email to