Help - Search - Members - Calendar
Full Version: Setting Up Ssh
Linuxhelp > Support > Technical Support
I want to set my computer up so I can SSH into it from home over spring break. I want to be able to run stuff from home and have access to my files. I am familair with ssh-ing into systems and what not, but I have never set up a box to be a host.

So I was looking if anyone know a good step by step page that would get me started at how to set up my box. I tried goolgle and looked at a couple pages but they didn't seem to work.

Any help would be great. Thanks
just edit the /etc/ssh/sshd_config file and make sure a couple things are not set at default ... (get rid of the # in front of these and set to these value):

This is what I turn on on my boxes:

Protocol 2
X11Forwarding yes
SyslogFacility AUTHPRIV
Subsystem sftp /usr/libexec/openssh/sftp-server

(your location for sftp-server might be different) ...

make sure to turn off Protocol 1 ... ie don't use Protocol 2,1

execute the following command to start sshd:

/etc/init.d/sshd restart

If you have iptables running, you will need to open tdp port 22 inbound.
I don't have an sshd_config file, I only have an ssh_config file.

There was a host section where I could make the suggested changes so I did (yes i backed up the old file first) but than I wasn't able to run the command

/etc/init.d/sshd restart

What do I need to do?
The changes you made to ssh_config were for the client that you connect with ...

sshd is probably not installed ....

I'm booting to my mandrake install right now to see what needs to be installed:

You need to install the package:

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.