T
T
tschin2016-03-02 19:55:47
linux
tschin, 2016-03-02 19:55:47

How to install ssh in Debian 6?

Hello! Prompt, in debian 6 to install ssh? sudo apt-get install fails.
This is what sources.list looks like59654ec3b90c4ed4855a6c3e1e1d82e7.png

Answer the question

In order to leave comments, you need to log in

4 answer(s)
M
Melkij, 2016-03-02
@melkij

It's actually been two years as EOL and two days since LTS ended.
We go by the browser to ftp.debian.org/debian/dists and look. Oh, squeeze is gone.
Options:
- try specifying squeeze-lts instead of squeeze
- find the complete works on DVD (ssh - most likely only the first disk will suffice, or even only the CD) and install from them.
- find mirrors where squeeze is still alive. mirror.yandex.ru is gone.

A
Andrey Burov, 2016-03-02
@BuriK666

What doesn't work? that writes?
Installation of the server

V
Vladimir, 2016-03-03
@rostel

add to sources.list

deb http://httpredir.debian.org/debian/ squeeze-lts main

A
Alexander Zykov, 2016-08-12
@Alex_Dee

Actually, you can also install from the source code:
1. download from offsite - wget mirror.yandex.ru/pub/OpenBSD/OpenSSH/portable/open... , (latest version 7.3p1);\
2. unpack: tar -zxvf openssh-7.3p1.tar.gz
3. go to the folder and configure: cd openssh-7.3p1 && ./configure --prefix=/usr --sysconfdir=/etc/ssh (I needed with additional options , eg --with-md5-passwords --with-pam --with-kerberos5, see for yourself what you need);
4. Next make
5. make install.
After these steps, you should have the sshd_config config file in the /etc/ssh folder. Next, think for yourself. In general, good advice - update the OS.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question