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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-14-2005, 11:30 AM
|
#1
|
|
LQ Newbie
Registered: Jan 2005
Distribution: SuSE, Debian, Slackware
Posts: 21
Rep:
|
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.
|
|
|
|
01-14-2005, 12:15 PM
|
#2
|
|
Member
Registered: Oct 2003
Location: Newport News, Va
Distribution: Debian
Posts: 246
Rep:
|
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
|
|
|
|
01-14-2005, 12:28 PM
|
#3
|
|
LQ Newbie
Registered: Jan 2005
Distribution: SuSE, Debian, Slackware
Posts: 21
Original Poster
Rep:
|
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.
|
|
|
|
01-14-2005, 01:05 PM
|
#4
|
|
Member
Registered: Oct 2003
Location: Newport News, Va
Distribution: Debian
Posts: 246
Rep:
|
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
|
|
|
|
01-17-2005, 06:14 PM
|
#5
|
|
LQ Newbie
Registered: Jan 2005
Distribution: SuSE, Debian, Slackware
Posts: 21
Original Poster
Rep:
|
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?
|
|
|
|
01-18-2005, 01:12 PM
|
#6
|
|
Member
Registered: Oct 2003
Location: Newport News, Va
Distribution: Debian
Posts: 246
Rep:
|
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
|
|
|
|
01-18-2005, 02:24 PM
|
#7
|
|
LQ Newbie
Registered: Jan 2005
Distribution: SuSE, Debian, Slackware
Posts: 21
Original Poster
Rep:
|
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.
|
|
|
|
01-18-2005, 02:29 PM
|
#8
|
|
Member
Registered: Oct 2003
Location: Newport News, Va
Distribution: Debian
Posts: 246
Rep:
|
http://backports.org/installation.html
Also make sure you run apt-get update after editing /etc/apt/soruces.list.
Thomas
|
|
|
|
09-12-2010, 08:18 PM
|
#9
|
|
LQ Newbie
Registered: Feb 2003
Location: Bronx, NY
Distribution: Slackware & Fedora
Posts: 7
Rep:
|
Quote:
Originally Posted by twsnnva
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?
|
|
|
|
09-12-2010, 08:40 PM
|
#10
|
|
Senior Member
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 3,604
|
Quote:
Originally Posted by rjshirts
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.
|
|
|
|
09-12-2010, 08:49 PM
|
#11
|
|
Moderator
Registered: Aug 2002
Posts: 10,704
|
evo2,
Do you realize this is a 5 year old thread?
|
|
|
1 members found this post helpful.
|
09-12-2010, 09:01 PM
|
#12
|
|
Senior Member
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 3,604
|
Quote:
Originally Posted by michaelk
evo2,
Do you realize this is a 5 year old thread?
|
I do now!
Cheers,
Evo2.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:47 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|