[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh with password



On Sat, Dec 05, 1998 at 10:52:33AM -0500, AJ wrote:
> things easier and i cant get ssh to work because i cant type my password
> in the opening command.. is there a way to edit ssh so that u can type
> something like:
> 
> ssh -l login -p password host.com

This would be inherently insecure since your password would be visible in
a `ps' output, so ssh does not allow it.

> or is there a way to specify the password for this host so it doesnt ask
> you?

I'm not sure why you can't accomplish this. I have menus in my wmaker that
do it:

"Sessions" MENU
                "Host" EXEC rxvt -bg black -fg white -fn Screen14 -title "SSH Session with host" -n host -e ssh -l user -c 3des host.domain.com
"Sessions" END

You can also try checking into using RSA authentication without a
passphrase. Should be in the ssh README.

-- 
-----    -- - -------- --------- ----  -------  -----  - - ---   --------
Ben Collins <b.m.collins@larc.nasa.gov>                  Debian GNU/Linux
UnixGroup Admin - Jordan Systems Inc.                 bcollins@debian.org
------ -- ----- - - -------   ------- -- The Choice of the GNU Generation


Reply to: