SSH к VM отклонение пароля, работ от консоли virt-менеджера

Я не могу говорить с человечностью, но установка Redhat, отменяющая выбор всего, приводит приблизительно к 850-900 МБ. Выполнение запускать установка и выбор ТОЛЬКО @Base урожаев группы пакета приблизительно 700 МБ и желания не установить @Base отбрасывают его еще больше. Таким образом, просто меньше, чем концерт кажутся довольно стандартными для минимальной установки через плату. Следует иметь в виду, что можно настроить его еще больше и удалить Bluetooth и другие пакеты для сокращения его. Они обычно устанавливаются так, самая широкая аудитория может получить то, в чем они нуждаются из поля. К сожалению, мне не нравятся qlogic драйверы на моем ноутбуке, но это позволяет мне удалить еще больше пакетов. Вот то, что я удаляю из стандартной установки сервера RHEL 5: (жаль о форматировании....

   alacarte    Simple menu editor for GNOME
   bluez-gnome  Bluetooth pairing and
   control applet bluez-libs    Bluetooth
   libraries bluez-utils    Bluetooth
   utilities brlapi     Appliation
   Programming Interface for BRLTTY.
   cadaver      Command-line WebDAV client
   ccid     Generic USB CCID smart card
   reader driver coolkey        CoolKey PKCS
   #11 module dcraw     A tool for decoding raw image data from digital cameras.
   Deployment_Guide-en-US   
   dhcpv6-client    DHCPv6 client
   dnsmasq      A lightweight DHCP/caching
   DNS server ed        The GNU line editor.
   elinks       A text-mode Web browser.
   enscript A plain ASCII to PostScript
   converter. eog       Eye of GNOME image
   viewer esc       Enterprise Security
   Client Smart Card Client
   evince       Document viewer finger      The
   finger client. gnome-audio   Sounds for
   GNOME events.
   gnome-backgrounds    Desktop backgrounds
   packaged with the GNOME desktop
   gnome-mag    GNOME Magnifier
   gnome-speech GNOME Text to Speech
   gnome-themes Themes collection for
   GNOME gok        GNOME Onscreen Keyboard
   hplip        HP Linux Imaging and Printing
   Project ifd-egate    Axalto Egate
   SmartCard device driver for PCSC-lite
   ImageMagick  An X application for
   displaying and manipulating images.
   iptstate A top-like display of IP
   Tables state table entries
   irda-utils   Utilities for infrared
   communication between devices.
   jwhois       Internet whois/nicname
   client. krb5-auth-dialog Kerberos 5
   authentication dialog ksh        The
   Original ATT Korn Shell lftp     A
   sophisticated file transfer program
   libsane-hpaio    SANE driver for
   scanners in HP's multi-function
   devices mdadm        mdadm controls Linux
   md devices (software RAID arrays)
   mkbootdisk   Creates a boot floppy disk
   for booting a system.
   mtools       Programs for accessing MS-DOS
   disks without mounting the disks.
   mtr      A network diagnostic tool.
   mutt     A text mode mail user agent.
   nc       Reads and writes data across
   network connections using TCP or UDP.
   neon     An HTTP and WebDAV client
   library NetworkManager   Network
   connection manager and user
   applications
   NetworkManager-glib  Libraries for
   adding NetworkManager support to
   applications that use glib.
   NetworkManager-gnome GNOME
   applications for use with
   NetworkManager orca      Flexible,
   extensible, and powerful assistive
   technology pcmciautils   PCMCIA
   utilities and initialization programs
   pcsc-lite    PC/SC Lite smart card
   framework and applications
   pcsc-lite-libs   PC/SC Lite libraries
   pirut        Package Installation, Removal
   and Update Tools rsh     Clients for
   remote access commands (rsh, rlogin,
   rcp). sabayon        Tool to maintain user
   profiles in a GNOME desktop
   sabayon-apply    The parts of sabayon
   needed on the client systems
   sane-backends    SANE driver for
   scanners in HP's multi-function
   devices sane-backends-libs   SANE
   libraries sane-frontends Graphical
   frontend to SANE slrn        A threaded
   Internet news reader. stunnel        An
   SSL-encrypting socket wrapper.
   synaptics    Synaptics Touchpad Driver
   syslinux Simple kernel loader which
   boots from a FAT filesystem
   system-config-netboot    system-config-netboot is an network booting/install
   configuration utility
   system-config-netboot-cmd    network
   booting/install configuration utility
   system-config-printer    A printer
   administration tool talk     Talk client
   for one-on-one Internet chatting.
   tcsh     An enhanced version of csh, the
   C shell. telnet      The client program
   for the telnet remote login protocol.
   tftp-server  The server for the
   Trivial File Transfer Protocol
   (TFTP). tree     A utility which
   displays a tree view of the contents
   of directories. vino     A remote
   desktop system for GNOME
   vconfig      Linux 802.1q VLAN
   configuration utility
   wdaemon      Hotplug helper for Wacom
   X.org driver xinetd      A secure
   replacement for inetd. xsane     An X
   Window System front-end for the SANE
   scanner interface. yp-tools  NIS (or
   YP) client programs. ypbind      The NIS
   daemon which binds NIS clients to an
   NIS domain.
0
задан 21 January 2014 в 17:00
2 ответа

Я бы порекомендовал, предполагая, что между вами и сервером нет брандмауэра, использовать консоль virt-manager для запуска sshd (в режиме отладки) на другом порту.

Это будет позволит вам увидеть более полный журнал подключения, в том числе, почему он отказал вам в входе:

 `which sshd` -d -p 27 

(Использование обратных кавычек для поиска sshd - это просто моя лень - для современного OpenSSH необходимо указать весь путь)

Вывод будет примерно таким:

# `which sshd` -d -p 27
debug1: sshd version OpenSSH_6.0p1 Debian-3ubuntu1
debug1: read PEM private key done: type RSA
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
debug1: private host key: #0 type 1 RSA
debug1: read PEM private key done: type DSA
debug1: Checking blacklist file /usr/share/ssh/blacklist.DSA-1024
debug1: Checking blacklist file /etc/ssh/blacklist.DSA-1024
debug1: private host key: #1 type 2 DSA
debug1: read PEM private key done: type ECDSA
debug1: Checking blacklist file /usr/share/ssh/blacklist.ECDSA-256
debug1: Checking blacklist file /etc/ssh/blacklist.ECDSA-256
debug1: private host key: #2 type 3 ECDSA
debug1: rexec_argv[0]='/usr/sbin/sshd'
debug1: rexec_argv[1]='-d'
debug1: rexec_argv[2]='-p'
debug1: rexec_argv[3]='27'
Set /proc/self/oom_score_adj from 0 to -1000
debug1: Bind to port 27 on 0.0.0.0.
Server listening on 0.0.0.0 port 27.
debug1: Bind to port 27 on ::.
Server listening on :: port 27.
debug1: Server will not fork when running in debugging mode.
debug1: rexec start in 5 out 5 newsock 5 pipe -1 sock 8
debug1: inetd sockets after dupping: 3, 3
Connection from 172.17.172.42 port 52877
Bad protocol version identification '' from 172.17.172.42

Это был журнал, когда я использовал telnet для подключения и просто нажал «Return», чтобы закрыть соединение - вы должны получить более полную ошибку. Я

0
ответ дан 5 December 2019 в 14:27

Попробуйте убедиться, что вы используете правильное имя пользователя. ssh отвергает правильный пароль, даже если реальной проблемой является неправильное имя пользователя.

0
ответ дан 5 December 2019 в 14:27

Теги

Похожие вопросы