1840221 Members
3593 Online
110162 Solutions
New Discussion

Need SSH script

 
Vishal_1980
Regular Advisor

Need SSH script

Hello Experts,

 

I was having an environment. Below is the screen that will appear when i looged in to the system.

 

login as: pvishal
pvishal@srvora's password:

NOTICE:  This system is for the use of authorized users only.

Choose Environment
------------------
 0. c00123
 1. c00124
 2. c00125
 3. c00126
 4. c00126
 5. c00127
 6. c00128
 7. c00129
 8. c00111
 9. c0121a
 
 l.  View Customer names
 x.  Logout

Choice? :

 

All i want  is one script , when it runs it will never ask for the login id & password & it will redirected me to the

desired server environment, can any one help me out with this.

I am using putty to access the UNIX server & every time i get that windo & i required to enter the choice to go to that environment.

 

Also i need password less SSH script...

 

Thanks & best regards,

Vishal

 

1 REPLY 1
RenatoMartini
Frequent Advisor

Re: Need SSH script

... well, if I uderstandig you question. This  "Choose Environment" simple menu is maybe a kind of shell, probably setting up at you personal or system profile file., i e. one user is logged on, and the OP launch the shell chosen. No password? You can use a ssh session with private/public keys without password, or a blank password. (Attention to the security concerns...).

--Renato Martini (Brazil)
http://renatomartini.net
http://www.iti.gov.br