LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 12-21-2005, 07:48 PM   #1
Digital Surgeon
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Ubuntu 7.10 - Gutsy Gibbon(Desktop Edition)
Posts: 184

Rep: Reputation: 30
setting up ssh with ftp access


I am trying to set up my computer as a webserver that I can access over SSH. I am knowledgeable about how to get Apache Webserver going. But I am a bit unsure how to properly configure SSH. Does anybody have input it would be appreciated.
 
Old 12-21-2005, 08:07 PM   #2
birdseye
Member
 
Registered: Mar 2005
Location: Wales, UK
Distribution: Gentoo, Debian, Ubuntu
Posts: 60

Rep: Reputation: 15
It all depends on what you are trying to do. If you are trying to get https working, then a quick google search leads to:
http://www.samspublishing.com/articl...&seqNum=5&rl=1

If you are trying for remote shells and secure file copying, take a look at scp and ssh. This linux.com article explains quite a bit:

http://enterprise.linux.com/article....1254222&tid=89

Hope that helps.

Rhys
 
Old 12-21-2005, 08:14 PM   #3
TomaCzar
Member
 
Registered: Dec 2003
Location: Roc City (Rochester-NY)
Distribution: Slacker 4 Life
Posts: 125

Rep: Reputation: 15
You should be able to grab ssh as a .rpm if it is not already installed on your system. The configuration for SSH is two-fold, client and server. The server configuration will most likely be in the /etc/ssh directory and is a file named sshd_config. The important changes to this file that I recommend for security purposes are:
PermitRootLogin no #this keeps root from ssh'ing in
Protocol 2 # this keeps you from running the more flawed ver. 1

Other options are available and can be found through a `man sshd_config`. Client side settings can usually be configured statically through ~/.ssh/ssh_config however the are USUALLY (depending upon your needs) unecessary and if needed for a one time occurance can be toggled with command line options.

Once the daemon is configured and running on the server you should be able to type "ssh -l $USERNAME $SERVER_IP" and be prompted for a password.

Incidentally for additional security you might want to look at /etc/hosts.allow and /etc/hosts.deny files. Good luck.

-Tomaczar
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
only FTP access to user not ssh or telnet farhank Linux - Security 3 10-27-2005 09:30 AM
Denying access to SSH but allow access to FTP nemesisza Linux - Security 5 03-14-2004 10:25 PM
Basic Linux Networking and setting up ssh/telnet/ftp user accounts... timmy_laf Linux - Newbie 2 01-05-2004 02:07 AM
limiting users who can gain ftp or ssh access bluefmc427 Linux - Security 1 07-03-2003 04:17 AM
setting up ftp and remote access Bashkir Linux - General 0 03-27-2001 10:22 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration