Safe SSH logins from public, untrusted Windows computers

From: Chris Johnson (cjohnson@palomine.net)
Date: 03/19/02


Date: Tue, 19 Mar 2002 14:45:38 -0500
From: Chris Johnson <cjohnson@palomine.net>
To: security@freebsd.org


This isn't exactly FreeBSD-security-related, but it's certainly
security-related, and I think it's likely to be of interest to many of the list
members.

I spend a lot of time in hotels, and most of them have Internet centers with
Windows computers for the use of hotel guests. It's easy enough to download a
copy of PuTTY and hide it in the Windows directory so that I can make SSH
logins to my various remote servers.

I worry, however, about trojans and keyboard sniffers and what-have-you
monitoring my keystrokes, so I don't feel particularly safe doing this. So I
thought I might stick a DSA key, encrypted with a passphrase used only for that
particular key, on a floppy disk, and use that to log in. Without the floppy
disk, the passphrase, if sniffed or recorded, would be useless.

Question: if I plan on doing any work as root, would I be better off setting
PermitRootLogin to without-password and logging in directly as root, instead of
following the common practive of logging in as a regular user and then su-ing?
su-ing would require that I type the password, and that's what I'm trying to
avoid.

Does anyone have any comments, or does anyone have a better idea?

Thanks.

Chris Johnson



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Relevant Pages

  • Re: cannot su?
    ... Logging in as root works on the ... > console, but su-ing from the user just writes 'Sorry', like the ...
    (freebsd-stable)
  • RE: Login restrictions in NIS environment
    ... to ban root from logging in remotely except from certain IP addresses. ... but it does not allow root to login even from ... > stack is called by both login and ssh access. ...
    (RedHat)
  • Re: Why doesnt Fedora include gksudo/gksu as a package
    ... There is a view point that su helpers are a wrong model. ... things that require root privileges using some sort of gui. ... Since Fedora has disabled fast user switching in gnome (which I ... terminal and running sudo appname or logging out as a user and logging ...
    (Fedora)
  • RE: Login restrictions in NIS environment
    ... Login restrictions in NIS environment ... need to ban root from logging in remotely except from certain IP ... but it does not allow root to login even ...
    (RedHat)
  • Re: OT - Desktop Linux
    ... Disable logging remote logging to SSH as root, add a user that does not ... tion-based firewall solution. ... Look at the default installation ruleset of industrial strength firewall ...
    (alt.sports.basketball.nba.la-lakers)

Loading