LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-26-2010, 04:35 PM   #1
scottt20
LQ Newbie
 
Registered: Jan 2010
Posts: 12

Rep: Reputation: 0
Securing SSH via Webmin


I installed OpenSSH via tasksel and am using Webmin for administration. I'd like to be able to SSH externally and want to setup the necessary public/private keys to use in FileZilla.

In Webmin, under Servers > SSH Server I can click 'Host Keys' and see an RSA key. Is this the public or private key for my server? Do I need to copy this into a text file to import it into FileZilla on my remote PC (that I want to connect from)? Is that all that needs to be done (aside from opening the port on my router/firewall)?

Or, is there an automated way to set this up via Webmin?

Thanks
 
Old 01-26-2010, 04:45 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
This site has a pretty comprehensive tutorial to ssh and webmin interactions.

http://doxfer.com/Webmin/SSHServer

Keep in mind however, your security is only as good as your weakest link and a lot of that for webmin and ssh is password quality and how well you keep your system up to date.

If you're running webmin, restrict access to it heavily.
 
Old 01-26-2010, 05:16 PM   #3
scottt20
LQ Newbie
 
Registered: Jan 2010
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for your reply. I see the option to generate keys when new users are added, is there a way to generate keys for a preexisting user from webmin?
 
Old 01-28-2010, 02:22 PM   #4
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
You can do some from the command prompt just like you would on any other server, so long as the keys are in the right place with the correct names it should work fine.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Securing SSH Using Denyhosts LXer Syndicated Linux News 0 08-26-2007 04:30 PM
Securing CVS with ssh tunneling zWaR Linux - Networking 4 07-17-2006 04:19 AM
Securing SSH ZilverZtream Linux - Security 5 12-10-2004 03:33 PM
securing ssh robberttheman Linux - Security 8 08-27-2004 07:36 AM
Securing SSH tarballedtux Linux - Security 3 11-16-2002 04:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration