Configuration of SSH daemon on Slackware 9.1 - Newbie
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Configuration of SSH daemon on Slackware 9.1 - Newbie
Hello folks,
First off, I'm new to Linux. I've got a good background in the Cisco IOS CLI, so I'm familar with a lot of the syntax, and I've written Perl scripts on Windows machines, so I can comprehend regular expressions fairly well. I appreciate any help that can be provided.
Here's my question:
I would like to enable SSH access to my slackware box from the outside world. I have a static IP and NAT enabled, and have already forwarded port 22 through my AP to redirect to my internal IP for the slackware box.
The end result is for me to SSH across the internet to my slackware machine and work on the box and/or transfer files to/from my 2 windows XP machines. I'm not too worried about setting up ftp or sftp right now, I just want to get SSH down well. I have a SSH client on my laptop at work (windows XP).
I have Slackware 9.1 installed on a PIII 600mhz machine. SCSI CD-RW and SCSI 9.1GB HDD.
I've looked at the man pages for SSHD and I am not sure about how to set up the configuration.
It should be setup pretty well by default. You shouldn't have to do much of anything to get it working except start the server, unless you need some customization of one aspect or another. The config files for it are in /etc/ssh/. And you can start the server by making it's startup script executable:
chmod 755 /etc/rc.d/rc.sshd
and then start it:
/etc/rc.d/ec.sshd start
By making the startup script executable, it should be started by default when you boot the PC from then on. If not, then check rc.inet2 to make sure it's not commented out.
if you still can't connect, your workplace firewall may be blocking port 22. A lot of corp. firewalls block that port. You might have to change the default port it listens on. Most corp. firewalls do not block port 53, 80, or 443.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.