LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-26-2007, 06:21 AM   #1
dpballey
Member
 
Registered: Feb 2004
Location: India
Distribution: Mandrake 9.1, Fedora 7, FreeBSD 6.2, , Slackware 12, Debian
Posts: 69

Rep: Reputation: 16
configure open ssh slackware 12


I have been doing googling around since last three hours to find a tutorial how to connect from a windows machine to Slackware 12 machine.
Please give me some good link or guide me please.


Best Regards

Last edited by dpballey; 09-26-2007 at 06:22 AM.
 
Old 09-26-2007, 06:59 AM   #2
simonb1975uk
Member
 
Registered: Jan 2004
Location: In the county of Essex, UK
Posts: 72

Rep: Reputation: 15
Hi,
Google for a program called putty. This will allow you to be able to connect to your linux box from windows.
 
Old 09-26-2007, 07:03 AM   #3
dbnor
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Rep: Reputation: 0
you can use putty.exe for a winterm

http://www.chiark.greenend.org.uk/~s.../download.html

and winscp for file xfer

http://winscp.net/eng/index.php
 
Old 09-26-2007, 10:31 PM   #4
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
I have used putty and pscp in the past (both from the same company) with good results (it's the most linuxy ssh client you'll find for Windows).
 
Old 09-28-2007, 02:22 AM   #5
dpballey
Member
 
Registered: Feb 2004
Location: India
Distribution: Mandrake 9.1, Fedora 7, FreeBSD 6.2, , Slackware 12, Debian
Posts: 69

Original Poster
Rep: Reputation: 16
Thanks for the replies.

Perhaps my question was not put up properly. Therefore the replies are limited to getting the client for Windows.

I will try to put forward my problem again as under:

I have Putty with me. But I have configuration trouble on Slackware Box. Because of this I can not log in to the Slackware Box with Putty.

I do get the ssh window when I try to connect to my Slackware Box, but I am not getting " # " therein so that I can login with my username!

Please advise.

Regards
dp
 
Old 09-28-2007, 04:16 AM   #6
indeliblestamp
Member
 
Registered: Feb 2006
Distribution: Fedora
Posts: 341
Blog Entries: 3

Rep: Reputation: 40
Is the ssh daemon running? (check with ps -ef|grep ssh)
If not, do a chmod +x /etc/rc.d/rc.sshd and /etc/rc.d/rc.sshd start, and try again from the windows box.
Someone correct me if I'm wrong please, I always check the SSH server to 'on' during installation itself, so there might be additional steps required here.
 
Old 09-28-2007, 09:15 PM   #7
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
I think that should do it. You may also want to change some settings in /etc/ssh/sshd_config (I always disable root logins and sometimes enable X forwarding depending on my intended use for the PC -- of course, X Forwarding doesn't work in Windows without installing a lot of Linuxy things [which isn't really worth it], so that's probably not an issue here).
 
Old 09-30-2007, 01:55 AM   #8
dpballey
Member
 
Registered: Feb 2004
Location: India
Distribution: Mandrake 9.1, Fedora 7, FreeBSD 6.2, , Slackware 12, Debian
Posts: 69

Original Poster
Rep: Reputation: 16
With Open SSH , Access Denied as root

I know that my password is correct because with the same password I am able to login as root on the Slackware machine. But with the same password I am denied access to the Slackware box. Is there any settings required to be done in some 'group' file?
I remember having done something of that sort on FreeBSD 6.2 .

This is what I get:

Quote:
Using username "root".
root@192.168.1.110's password:
Access denied
root@192.168.1.110's password:
Access denied
root@192.168.1.110's password:
Please help.

Best Regards
 
Old 09-30-2007, 02:08 AM   #9
dpballey
Member
 
Registered: Feb 2004
Location: India
Distribution: Mandrake 9.1, Fedora 7, FreeBSD 6.2, , Slackware 12, Debian
Posts: 69

Original Poster
Rep: Reputation: 16
Open SSH login : SOLVED

Solved
Removed the line
Alloweduser xxxx,xxxx
which I had inserted in sshd_config file after reading somewhere about it.
Stopped SSH.
Started SSH.
I can not login to Slackware Box.

The gist of the exercsise is as under:
1. Obtain 'putty.exe' here
2. In the /etc/ssh/sshd_config, change Rootlogin no to yes.

If there is a better way , please guide.

Regards
 
Old 09-30-2007, 01:44 PM   #10
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
You REALLY shouldn't log in as root over an ssh connection. If you insist as running as root in your normal operating environment, I would suggest adding a user just for ssh connections. There you can even su to root if you want, but I really wouldn't advise logging in as root over ssh. It would be a potential security risk -- if anyone intercepts your root password and decrypts it they could login to your box over ssh and do absolutely anything they want to your computer.

They make it difficult to operate as root in Linux (or more specifically Slackware) for a reason -- it's just stupid and doesn't really gain much.
 
  


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
open-ssh vs. commercial ssh (tru64), public-key auth not possible? cf050 Linux - Networking 8 03-28-2012 11:15 AM
Passwordless SSH with SSH commercial server and open ssh cereal83 Linux - General 7 04-18-2006 12:34 PM
[B]how can i configure SSH to allow only the ip that i want?[/B] eder_michael11 Linux - Security 11 04-05-2006 06:49 PM
open ports on linksys, i have ssh open but thats it PlatinumRik Linux - Security 1 07-07-2005 10:38 AM
How to further configure Ssh? toastermaker Linux - Newbie 10 11-07-2003 03:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:57 PM.

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