LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-14-2005, 11:30 AM   #1
rjshirts
LQ Newbie
 
Registered: Jan 2005
Distribution: SuSE, Debian, Slackware
Posts: 21

Rep: Reputation: 15
enabling ssh logins on debian


I have putty installed on my windows box, but everytime I try to login to my debian box (ip address of 10.10.0.234) I get a message stating that the connection was refused.
Am I missing something here? I installed the packages for logging in remotely, or at least I think I did. If it turns out I didn't (which is a very good possibility, where can I go to get the packages for sshd?
Thanks,
EDIT: Newbie moment.......
Ok, turns out I'm missing the gcc libraries, somehow I either didn't install them (again, not a big suprise) or something isn't right. I found out about this as I was trying to roll the new 2.6.10 kernel. I figured I might need those libraries if I'm going to have to install sshd or something like that.

Last edited by rjshirts; 01-14-2005 at 11:51 AM.
 
Old 01-14-2005, 12:15 PM   #2
twsnnva
Member
 
Registered: Oct 2003
Location: Newport News, Va
Distribution: Debian
Posts: 246

Rep: Reputation: 30
To install sshd in debian.

Code:
apt-get install ssh
It'll ask if you want to run the sshd server.

To install gcc in debian
Code:
apt-get install gcc

Thomas
 
Old 01-14-2005, 12:28 PM   #3
rjshirts
LQ Newbie
 
Registered: Jan 2005
Distribution: SuSE, Debian, Slackware
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks,
That was a lot easier than I thought it would be. Does this work for any distro? Suse, Slackware in particular?
Only one problem though. When I tried to install sshd, it couldn't find the package. How do I find the package online with wget or something similar?

Last edited by rjshirts; 01-14-2005 at 12:31 PM.
 
Old 01-14-2005, 01:05 PM   #4
twsnnva
Member
 
Registered: Oct 2003
Location: Newport News, Va
Distribution: Debian
Posts: 246

Rep: Reputation: 30
Quote:
Does this work for any distro? Suse, Slackware in particular?
It works for Debian and most Debian based distro's (i.e. Knoppix, Ubuntu). Slack has a program called slapt-get and redhat has yum, they all basically do the same thing.
Quote:
When I tried to install sshd, it couldn't find the package.
sshd is installed when you install ssh. It then prompts you if you would like to run the sshd server. If you already installed ssh, you can run
Code:
dpkg-reconfigure ssh
This will reconfigure ssh and prompt you to run the sshd server.

Thomas
 
Old 01-17-2005, 06:14 PM   #5
rjshirts
LQ Newbie
 
Registered: Jan 2005
Distribution: SuSE, Debian, Slackware
Posts: 21

Original Poster
Rep: Reputation: 15
New question with apt-get:
I'm trying to install mysql, and I've found a .deb file at www.backports.org, but apt-get won't install it. Where do I go to add backports.org to my list of sites to get software from?
 
Old 01-18-2005, 01:12 PM   #6
twsnnva
Member
 
Registered: Oct 2003
Location: Newport News, Va
Distribution: Debian
Posts: 246

Rep: Reputation: 30
You would add that server to /etc/apt/sources.list. You can get mysql from debian though.
Code:
apt-get install mysql-server
If you download a .deb, you would need to install it with dpkg like so.
Code:
dpkg -i your_package.deb
Check out http://packages.debian.org Here you can search for packages.

Thomas
 
Old 01-18-2005, 02:24 PM   #7
rjshirts
LQ Newbie
 
Registered: Jan 2005
Distribution: SuSE, Debian, Slackware
Posts: 21

Original Poster
Rep: Reputation: 15
ok, here's my question: how do I add lines to the sources.list file? I tried typing in
but I get an error message when I try to run apt-get after that.

Thanks a million for all your help.
 
Old 01-18-2005, 02:29 PM   #8
twsnnva
Member
 
Registered: Oct 2003
Location: Newport News, Va
Distribution: Debian
Posts: 246

Rep: Reputation: 30
http://backports.org/installation.html

Also make sure you run apt-get update after editing /etc/apt/soruces.list.

Thomas
 
Old 09-12-2010, 08:18 PM   #9
EL DEMONIO
LQ Newbie
 
Registered: Feb 2003
Location: Bronx, NY
Distribution: Slackware & Fedora
Posts: 7

Rep: Reputation: 0
Quote:
Originally Posted by twsnnva View Post
To install sshd in debian.

Code:
apt-get install ssh
It'll ask if you want to run the sshd server.

To install gcc in debian
Code:
apt-get install gcc

Thomas
what;s the gcc for?
 
Old 09-12-2010, 08:40 PM   #10
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by rjshirts View Post
That was a lot easier than I thought it would be.
Debian sorted out package installation before most other distros existed.
While it's true that Slackware is a couple of months older some would argue that Slackware package installation has never been sorted out. However, that I believe, is a design choice not a bug as such.

Quote:
Does this work for any distro? Suse, Slackware in particular?
Something similar should work for Suse, but for Slackware you'd probably need to install the pacakges that sshd depends on yourself.

Quote:
Only one problem though. When I tried to install sshd, it couldn't find the package.
To be expected. Although it was a good guess, the package name is not "sshd".

Quote:
How do I find the package online with wget or something similar?
Use apt-cache and your best guess at what the program or package name could be.
Code:
apt-cache search sshd
This should return a few lines including:
Code:
openssh-server - secure shell (SSH) server, for secure access from remote machines
Cheers,

Evo2.
 
Old 09-12-2010, 08:49 PM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,761

Rep: Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931
evo2,
Do you realize this is a 5 year old thread?
 
1 members found this post helpful.
Old 09-12-2010, 09:01 PM   #12
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by michaelk View Post
evo2,
Do you realize this is a 5 year old thread?
I do now!

Cheers,

Evo2.
 
Old 11-11-2013, 04:09 PM   #13
RoninNL
LQ Newbie
 
Registered: Nov 2013
Posts: 1

Rep: Reputation: Disabled
Sweet, thanks! Stillll works
 
  


Reply



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
How do i monitor SSH logins? gtwilliams Linux - Security 5 06-08-2005 10:43 PM
Enabling SSH logins and configuring the firewall Travis86 Linux - Networking 28 04-05-2005 01:27 AM
Massive SSH Logins zeeshanhayat Linux - Security 1 03-08-2005 12:49 PM
Need help using Webmin to tell SSH to allow logins Xolo Linux - Security 9 11-22-2004 03:57 PM
Disabling the chroot in proftpd and enabling root logins on ssh/proftpd jon_k Linux - Software 1 06-16-2004 10:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:19 AM.

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