Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | RE: User name prompt with ssh |
|---|---|
| Date: | Fri, 2 Sep 2005 10:13:03 -0600 |
Or, to avoid renaming the binary, you could put in /etc/profile
function ssh() {
read -p "Username:" SSH_LOGIN
/usr/bin/ssh -l $SSH_LOGIN $*
}
Of course, you'd have to make sure your ssh binary actually lives in /usr/bin.
Then users would be free to undefine the ssh function if they don't like that
behaviour.
Regards
Mark
-----Original Message----- From: Johan De Meersman [mailto:jdm@operamail.com] Sent: September 2, 2005 02:54 To: Guillaume Vissian Cc: Baveystock.John@swm.de; secureshell@securityfocus.com Subject: Re: User name prompt with ssh ---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 notspecified inthe command line the local user login by default, if youwant to havea login prompt you have to use another ssh client... youcan get puttyfor 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 promtedfor my username, 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+**
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: Multiple authorized_keys2 files or how to achieve same effect., Jeremy Eder |
|---|---|
| Next by Date: | RE: Multiple authorized_keys2 files or how to achieve same effect., Jayson Anderson |
| Previous by Thread: | Re: User name prompt with ssh, Greg Wooledge |
| Next by Thread: | Multiple authorized_keys2 files or how to achieve same effect., Jeremy Eder |
| Indexes: | [Date] [Thread] [Top] [All Lists] |