Re: restricting ssh access
From: Chuck (skilover_nospam_at_softhome.net)
Date: 03/23/05
- Next message: J.D. Baldwin: "Re: restricting ssh access"
- Previous message: Jacob Nevins: "Re: SSH for Binary Data Pipe"
- In reply to: User1001: "Re: restricting ssh access"
- Next in thread: Richard E. Silverman: "Re: restricting ssh access"
- Reply: Richard E. Silverman: "Re: restricting ssh access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 23 Mar 2005 09:47:02 -0500
User1001 wrote:
> In Shell RC file for non-login account, add variable checks for SSH
> connection; (Open)SSH sets certain environment variables when it
> completes a login connection (eg; SSH_CLIENT, SSH_CONNECTION, SSH_TTY,
> SSH_ORIGINAL_COMMAND for SCP). Make sure that SSH_ORIGINAL_COMMAND is set
> to "scp" (or "sftp"). You might want to check on the "command string"
> being passed and decided whether to execute it or not.
RC file? Are you referring to the login scripts like .profile, .login,
and .cshrc?
> This can be tightened up more by using key-only-access where the
> AUTHORIZED_KEYS file has additional (OpenSSH) parameters to limit PTY,
> port forwarding, et cetera, and can even be used to invoke a specific
> command (script) where further checking/restrictions can be implemented.
Key authentication for most users is probably not an option. There will
be a number of users sharing this common account for ftp file drop off
and most of them will not be savvy enough to understand public/private
key authentication. Since they will have the password for the account, I
want to be sure they can't use it to do anything other than what they
need to do which is to upload files.
- Next message: J.D. Baldwin: "Re: restricting ssh access"
- Previous message: Jacob Nevins: "Re: SSH for Binary Data Pipe"
- In reply to: User1001: "Re: restricting ssh access"
- Next in thread: Richard E. Silverman: "Re: restricting ssh access"
- Reply: Richard E. Silverman: "Re: restricting ssh access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|