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


  Search this Thread
Old 12-21-2005, 07:48 PM   #1
Digital Surgeon
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
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:

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

Hope that helps.

Old 12-21-2005, 08:14 PM   #3
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.



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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:13 PM.

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