how to install ssh service in linux


 
Thread Tools Search this Thread
Special Forums IP Networking how to install ssh service in linux
# 1  
Old 08-28-2009
You're missing the URL for the main repository. Do this:
Code:
$ echo "deb http://http.us.debian.org/debian lenny main contrib non-free" >> /etc/apt/sources.list
$ echo "deb http://non-us.debian.org/debian-non-US lenny/non-US main contrib non-free" >> /etc/apt/sources.list
$ apt-get update
$ apt-get install openssh-server

This will add 2 main repositories, update the package list, and install openssh-server. Note: the '$' is not part of the command line but indicates the prompt.
# 2  
Old 08-28-2009
Quote:
Originally Posted by pludi
You're missing the URL for the main repository. Do this:
Code:
$ echo "deb http://http.us.debian.org/debian lenny main contrib non-free" >> /etc/apt/sources.list
$ echo "deb http://non-us.debian.org/debian-non-US lenny/non-US main contrib non-free" >> /etc/apt/sources.list
$ apt-get update
$ apt-get install openssh-server

This will add 2 main repositories, update the package list, and install openssh-server. Note: the '$' is not part of the command line but indicates the prompt.
Thanks I'll be able to deal with that this evening, and I'll post back with the results. I'm curious, does the fact that sources.list was missing information suggest something went wrong with my install, or is adding this information as you describe a normal part of the process?
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Allow AD service account SSH to Linux systems without 2FA

I have Windows AD server and all of the linux computers are joined to AD. Recently, 2FA has been activated, I wish to exclude some of the domain service accounts from 2FA # less /etc/pam_radius_acl.conf sshd:* # /etc/pam.d/sshd auth required pam_sepermit.so auth requisite... (0 Replies)
Discussion started by: davidpar007
0 Replies

2. Solaris

Helpme !! ssh service in maintenance mode

Hi Guys, Virtual Machine - Solaris 10 ssh service is in maintenance mode, when i tried to disable it it got disabled but when i enabling it ( svcadm enable ssh) it is coming in maintenance mode...... Pls help (10 Replies)
Discussion started by: saurabh84g
10 Replies

3. Programming

doing a socket connection using ssh service

Trying to establish a socket connection using ssh service - but want to use different login name for ssh than what currently logged in as - if under shell know to use ssh -l <login-name> host - however - not sure how to tell o.s. to use different login name when use connect command (2 Replies)
Discussion started by: clcoh11
2 Replies

4. Solaris

ssh service location on Solaris 8

Hi where can i find the ssh service on solaris 8 if "sshd" it is not available on /etc/init.d? i want to restart the service. i did a "which" and i found this. is this the right path? i want to double check since this is a prod server. bash-2.03# which sshd /usr/sbin/sshd Thanks (4 Replies)
Discussion started by: hrist
4 Replies

5. UNIX for Dummies Questions & Answers

Problem with the SSH & Telnet Service

Hi gurus of Unix, I am newby in Unix, I need to Know the following. How I know if SSH & Telnet service is UP in Solaris? Please I appreciate your answer Regard Andres (2 Replies)
Discussion started by: andresguillen
2 Replies

6. Web Development

hosting service that allow me to compile and install my own apache

Is there any cheap hosting service that allow me to compile and install my own apache and php ? thanks (1 Reply)
Discussion started by: aneuryzma
1 Replies

7. Solaris

could not able to start the ssh service plz suggest

Hi Gurus I could not able to start the ssh service plz suggest root@bics-uatsrvr-01 # svcs -x ssh svc:/network/ssh:default (SSH server) State: offline since Thu May 28 04:12:02 2009 Reason: Service svc:/system/filesystem/usr:default is not running because a method failed. ... (1 Reply)
Discussion started by: girish.batra
1 Replies

8. UNIX for Dummies Questions & Answers

ssh install

hi , i am trying to install ssh on solaris8 i have downloaded openssh. if anyone have installed openssh before , i like to know if there are anything else needed to install it. Some web sites says you need zlib and so on. i am confused. (1 Reply)
Discussion started by: oppai
1 Replies
Login or Register to Ask a Question