Re: User name prompt with ssh

From: Johan De Meersman (
Date: 09/02/05

  • Next message: James Thomas Richardson: "Port Forwarding from different local addresses"
    Date: Fri, 02 Sep 2005 10:54:20 +0200
    To: Guillaume Vissian <>

    read -p "Please enter your remote username: " SSH_LOGIN
    real-ssh -l "$SSH_LOGIN" $*

    $ mv ssh real-ssh
    $ ln -s 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
    > wrote:
    >> Hello,
    >> I am testing openssh on a Sun Solaris 8 workstation. The ssh and
    >> support packages were obtained from
    >> 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:

    Q:	What do you call a half-dozen Indians with Asian flu?
    A:	Six sick Sikhs (sic).
    Public GPG key at
    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+**

  • Next message: James Thomas Richardson: "Port Forwarding from different local addresses"

    Relevant Pages

    • Re: SSH login automation, get stuck at the last step.
      ... The ssh server that I am copying the public key to is not a typical ... The user "root" to login this box can not access the ... puts stderr "EXP username requested and sent " ...
    • SUMMARY: how to set correct path?
      ... ven if we login with ssh. ... For BASH login shell, place the system wide ENV variables, such as PATH, ... You can set Use_login in the sshd_config to yes and restart sshd. ...
    • Re: broken ssh
      ... The password works to login to the system directly. ... I've tried loogging in from the command line: "ssh ... Make sure that your home router port forwards port 22 ... Now try to ssh to the target computer locally (i.e., from itself, while ...
    • Re: ssh brute force attacks
      ... What you are most likely seeing are SSH worms on hacked PCs that scan ... -- use a separate username/password for SSH access, ... -- enforce more complex usernames & passwords for all users on the server ... Instead require the user to login as a non-root user first, ...
    • Re: Authentication with SSH using public keys
      ... I use ssh to login remotely. ... there looks odd, or different, from other remote hosts I do this on. ... The permissions on the machine where it doesn't work: ...