nixp.ru v3.0

20 апреля 2024,
суббота,
01:37:43 MSK

raba написал 2 сентября 2007 года в 00:15 (1190 просмотров) Ведет себя неопределенно; открыл 33 темы в форуме, оставил 77 комментариев на сайте.

сразу говорю что новичок я, которому хочется пробится на второй тачке по ssh, но уже 2 дня читаю манов форумов ,но чего-то не то . Делаю я вот так:

(со стороны клиента)

#ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N «»

#ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N «»

#ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N «»

#ssh-keygen -t rsa1

#ssh-keygen -t dsa

#ssh-keygen -t rsa

(со стророны сервера)

#apt-get install ssh

#/usr/sbin/sshd

(ssh_config)

# This is the ssh client system-wide configuration file. See

# ssh_config(5) for more information. This file provides defaults for

# users, and the values can be changed in per-user configuration files

# or on the command line.

# Configuration data is parsed as follows:

# 1. command line options

# 2. user-specific file

# 3. system-wide file

# Any configuration value is only changed the first time it is set.

# Thus, host-specific definitions should be at the beginning of the

# configuration file, and defaults at the end.

# Site-wide defaults for some commonly used options. For a comprehensive

# list of available options, their meanings and defaults, please see the

# ssh_config(5) man page.

Host *

# ForwardAgent no

ForwardX11 no

ForwardX11Trusted yes

# RhostsRSAAuthentication no

# RSAAuthentication yes

# PasswordAuthentication yes

# HostbasedAuthentication no

# BatchMode no

# CheckHostIP yes

# AddressFamily any

# ConnectTimeout 0

# StrictHostKeyChecking ask

# IdentityFile ~/.ssh/identity

# IdentityFile ~/.ssh/id_rsa

# IdentityFile ~/.ssh/id_dsa

# Port 22

# Protocol 2,1

# Cipher 3des

# Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc

# EscapeChar ~

# Tunnel no

# TunnelDevice any:any

# PermitLocalCommand no

SendEnv LANG LC_*

HashKnownHosts yes

GSSAPIAuthentication yes

GSSAPIDelegateCredentials no

Genie

ну а дальше-то что?

как именно пытаешься присоединиться, что именно хочешь получить?

что получаешь в итоге?

что показывает попытка соединения в verbose режиме?

$ ssh -v user@server

Последние комментарии

ecobeingecobeing.ru
Экология и вегетарианство на благо всем живым существам Планеты.