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.




Network Security Secure-Shell
[Top] [All Lists]

Re: User name prompt with ssh

Subject: Re: User name prompt with ssh
Date: Fri, 02 Sep 2005 10:54:20 +0200

---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+**


Attachment: signature.asc
Description: OpenPGP digital signature

<Prev in Thread] Current Thread [Next in Thread>