Automatic startup of SSH at reboot ?


 
Thread Tools Search this Thread
Operating Systems Solaris Automatic startup of SSH at reboot ?
# 1  
Old 06-07-2011
Automatic startup of SSH at reboot ?

hi friends,

any idea how do we configure a automatic startup of SSH services in Solaris boot ?
# 2  
Old 06-07-2011
Code:
svcadm enable ssh

# 3  
Old 06-07-2011
about solaris 9?
# 4  
Old 06-09-2011
Same command svcadm enable ssh van use in sol 9 also..
# 5  
Old 06-09-2011
Solaris 9 does not have Service Management Facility, so svcadm command is not present there. To enable automatic startup of SSH in Solaris 9, you should place SSH daemon start script (/etc/init.d/sshd) into /etc/rc3.d and rename it into S99sshd or something like that.
# 6  
Old 06-09-2011
I apologise for my wrong reply.. and thanks to bartus11..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Linux startup and stop scripts using SSH

I have a question. Actually I want to make two scripts, one is startup.sh and other is stopscript.sh so for example, I have 5 servers. Each server has two instances :- abc111 - Masters -cra4 abc222 -middle tear -cra abc333 -middle tear -cra1 abc444 -middle tear ... (1 Reply)
Discussion started by: siddharthjain
1 Replies

2. Shell Programming and Scripting

SSH Script For Automatic File Upload HELP

Hi guys! I hope this hasn't been asked too many times but, Would someone be able to help me write or point me in the direction to some helpful tutorials in order to write a script to transfer a file directly to a server via SSH from a linux based computer. The script should do as following:... (2 Replies)
Discussion started by: craigwilkinson
2 Replies

3. Shell Programming and Scripting

Automatic shutdown and startup of Tomcat in Solaris

Dear Experts , I want to stop and Start tomcat at the time of shutdown and startup of our server . I was trying to stop tomcat with following command # su - dm -c "/export/home/Finder/FinderWeb/jakarta-tomcat-3.3.1a/bin/shutdown.sh" but i am getting following error. Please suggest .... (1 Reply)
Discussion started by: Amit.saini333
1 Replies

4. Shell Programming and Scripting

automatic SFTP without doing passwordless key with ssh-keygen

I need to automate a file transfer thru SFTP. But I cannot do a passwordless key with ssh-keygen between the servers. Is there any other way like we do something like below in FTP??? ftp -n hostIP << EOF user userid password get filename EOF Please use code tags! (5 Replies)
Discussion started by: Vidhyaprakash
5 Replies

5. UNIX for Dummies Questions & Answers

Automatic login at startup

Hi, how can I set my linux server that it logs in the main user at startup? I would like to be able to make a restart remotely and be able to connect to the server again afterwards. The problem is that the server waits for a login and than connects to the network. So at the beginning at... (5 Replies)
Discussion started by: borobudur
5 Replies

6. UNIX for Dummies Questions & Answers

Automatic logging (capture screen output) of telnet/ssh sessions on a Solaris node

Hi I am working in Solaris 10 and I want to monitor logs for every telnet/ssh session that tries to connect to the server. I need these logs to be generated in a file that I can fetch using ftp. I am a new user and a stepwise detail will be great BR saGGee (3 Replies)
Discussion started by: saggee
3 Replies

7. Solaris

Automatic reboot does not work after power failure

Hi all, I have a server SUN FUJITSU in solaris 10 ; result of uname -a is : SunOS MOBD1 5.10 Generic_118833-03 sun4us sparc FJSV,GPUZC-M I have configured the eeprom to auto-boot as usual and this automatic reboot does not work in case of power failure. I must type "boot" on the prompt "ok"... (5 Replies)
Discussion started by: aribault
5 Replies

8. Shell Programming and Scripting

automatic scp download (without the use of ssh keys)

Hi guys, I need to automate scp downloads from a server to which I do not have the ability to upload my public key for automatic logins. I know there is something called expect, but I wasn't sure if that was the best way to go. Basically I am executing a scp download command and I need the... (2 Replies)
Discussion started by: caprica13
2 Replies

9. Shell Programming and Scripting

automatic ssh into remote server using ksh

I still have to enter the password when I want to auto login w/o having to do any command line entry. This code works but I don't want to have to enter the password at the command line. After manning ssh I still am not sure what settings I need to change. Please help. Thanks! <<<output>>>... (4 Replies)
Discussion started by: tekline
4 Replies

10. Linux

Run a script during reboot/startup

Hi all, i have a script in /etc/init.d directory. -rwxr-xr-x 1 root root 26 Mar 28 16:00 myscript I need it to run when my linux reboots/startup. However is it not being executed. Do i need to put in in the rc.local directory? (1 Reply)
Discussion started by: new2ss
1 Replies
Login or Register to Ask a Question