|
-
August 10th, 2007, 06:53 PM
#5
OK
On the home machine add to /etc/ssh/ssh_config:
Protocol 2
PasswordAuthentication no
ChallengeResponseAuthentication no
AllowUsers yourusernamehere
This limits logins only to your username and prevents password authentication.
On you work machine run ssh-keygen -t dsa
From your work machine copy ~/.ssh/id_dsa.pub to your home machine /home/yourusernamehere/athorized_keys
Make sure that after the copy it is chmod 600
From work issue ssh [email protected]ine and you should connect.
Connections will be then limited to only the work machine.
If you want to make it more secure I think you can add passphrases when you ssh-keygen - man ssh-keygen for help.
Steve
IT, e-commerce, Retail, Programme & Project Management, EPoS, Supply Chain and Logistic Services. Yorkshire. http://www.bigi.uk.com
Similar Threads
-
By xmaddness in forum Microsoft Security Discussions
Replies: 1
Last Post: November 11th, 2005, 08:36 PM
-
By hiddeninclouds in forum Web Development
Replies: 2
Last Post: January 21st, 2004, 07:59 PM
-
By sk8 in forum Newbie Security Questions
Replies: 11
Last Post: November 18th, 2003, 03:23 AM
-
By Gnitzman in forum Programming Security
Replies: 10
Last Post: May 12th, 2002, 06:23 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|