Re: User name prompt with ssh
From: Johan De Meersman (jdm_at_operamail.com)
Date: 09/02/05
- Previous message: Johan De Meersman: "Re: Multiple authorized_keys2 files or how to achieve same effect."
- In reply to: Guillaume Vissian: "Re: User name prompt with ssh"
- Next in thread: Greg Wooledge: "Re: User name prompt with ssh"
- Reply: Greg Wooledge: "Re: User name prompt with ssh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 02 Sep 2005 10:54:20 +0200 To: Guillaume Vissian <somebodyishere@gmail.com>
---begin prompt-ssh.sh---
#!/bin/bash
read -p "Please enter your remote username: " SSH_LOGIN
real-ssh -l "$SSH_LOGIN" $*
---end prompt-ssh.sh---
$ mv ssh real-ssh
$ ln -s prompt-ssh.sh ssh
Guillaume Vissian wrote:
> Hello,
>
> Under Unix system the openssh client use when it is not specified in
> the command line the local user login by default, if you want to have
> a login prompt you have to use another ssh client... you can get putty
> for sun solaris.
>
> Regards,
>
> Guillaume Vissian
> Président de l'Association d'Audit de Sécurité
> 53, rue de Grenelle
> 75007 Paris
>
> Baveystock.John@swm.de wrote:
>
>> Hello,
>>
>> I am testing openssh on a Sun Solaris 8 workstation. The ssh and
>> support packages were obtained from Sunfreeware.com.
>>
>> I wish to login to our Cisco components which are using ssh and
>> tacacs+ with the Cisco ACS server.
>> When I login from a Windows PC with Putty, I am promted for my user
>> name, and then I can enter my password.
>>
>> With the Sun workstaion I have to enter " ssh -l user-name
>> IP-address" to login. As different users will use this Sun
>> workstation, it is important that the user is promted for the user
>> name. How can we achieve this?
>>
>> Thanks
>>
>> John Baveystock
>> SWM Services Energie und Wasser GmbH
>> Netzwerkmanagement - S-IP-TK-KS
>> Emmy-Noether Str. 2, Zi. C0.80
>> 80287 München
>> Tel.: 089/2361-4350
>> Mobil: 0172/8223043
>> Fax: 089/2361-2998
>> E-mail: baveystock.john@swm.de
>>
>>
>>
>>
>
>
-- Q: What do you call a half-dozen Indians with Asian flu? A: Six sick Sikhs (sic). -- Public GPG key at blackhole.pca.dfn.de GCS/IT d- s:+ a- C(+++)$ UL++++$ P+++(++++)$ L++(+++)$ !E- W+(+++)$ N+(++) o K w$ !O !M V PS(++)@ PE-(++)@ Y+ PGP++(+++) t(+) 5 X R tv-- b++(++++) DI++(++++) D++ G e++>+++++ h(+) r y+**
- application/pgp-signature attachment: OpenPGP digital signature
- Previous message: Johan De Meersman: "Re: Multiple authorized_keys2 files or how to achieve same effect."
- In reply to: Guillaume Vissian: "Re: User name prompt with ssh"
- Next in thread: Greg Wooledge: "Re: User name prompt with ssh"
- Reply: Greg Wooledge: "Re: User name prompt with ssh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|