The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Re: restricting commands
Author: Francis Vidal 
Date:   12-06-02 07:52

I think putting a command limit is a good practice if you don't use any password for the SSH key. For simple copying commands, you can probably use "command=/bin/false". I also found a tool called 'keychain' made by a guy from GenToo Linux <URL:http://www.gentoo.org>.

From the project website "...The keychain bash script makes handling RSA and DSA keys both convenient and secure. It acts as a front-end to ssh-agent, allowing you to easily have one long-running ssh-agent process per system, rather than per login session. This dramatically reduces the number of times you need to enter your passphrase from once per new login session to once every time your local machine is rebooted." <URL:http://www.gentoo.org/projects/keychain/>

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 restricting commands   new
Julian King 11-02-02 13:51 
 Re: restricting commands   new
Dan Langille 11-02-02 15:04 
 Re: restricting commands   new
Francis Vidal 12-06-02 07:52 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org