質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.50%
CentOS

CentOSは、主にRed Hat Enterprise Linux(RHEL)をベースにした、フリーのソフトウェアオペレーティングシステムです。

Tera Term

Tera Termは、TeraTerm Projectが開発する国産のWindows向けターミナルソフト。telnetプロトコルでのリモートホストへの接続やCOMポートのシリアル接続が可能で、マクロが利用できます。

SSH

SSH(Secure Shell)は、セキュアチャネルを通してデータを交換するためのネットワークプロトコルです。リモートサーバーへのコマンド実行やファイル転送を行う時に一般的に使用されます。

Linux

Linuxは、Unixをベースにして開発されたオペレーティングシステムです。日本では「リナックス」と呼ばれています。 主にWebサーバやDNSサーバ、イントラネットなどのサーバ用OSとして利用されています。 上位500のスーパーコンピュータの90%以上はLinuxを使用しています。 携帯端末用のプラットフォームAndroidは、Linuxカーネル上に構築されています。

VirtualBox

VirtualBoxは、現在米オラクル社が開発している、 x86仮想化ソフトウェア・パッケージの一つです。

Q&A

解決済

2回答

4406閲覧

VirtulBOX上にインストールしたLinux(CentOS7)にSSHでホストマシンより接続ができません

DD51_742

総合スコア14

CentOS

CentOSは、主にRed Hat Enterprise Linux(RHEL)をベースにした、フリーのソフトウェアオペレーティングシステムです。

Tera Term

Tera Termは、TeraTerm Projectが開発する国産のWindows向けターミナルソフト。telnetプロトコルでのリモートホストへの接続やCOMポートのシリアル接続が可能で、マクロが利用できます。

SSH

SSH(Secure Shell)は、セキュアチャネルを通してデータを交換するためのネットワークプロトコルです。リモートサーバーへのコマンド実行やファイル転送を行う時に一般的に使用されます。

Linux

Linuxは、Unixをベースにして開発されたオペレーティングシステムです。日本では「リナックス」と呼ばれています。 主にWebサーバやDNSサーバ、イントラネットなどのサーバ用OSとして利用されています。 上位500のスーパーコンピュータの90%以上はLinuxを使用しています。 携帯端末用のプラットフォームAndroidは、Linuxカーネル上に構築されています。

VirtualBox

VirtualBoxは、現在米オラクル社が開発している、 x86仮想化ソフトウェア・パッケージの一つです。

0グッド

0クリップ

投稿2016/12/17 03:56

  1. VitaulBOX上にゲストOSとしてCentOS7をインストールを行い。
  • リストVitaulBOX上では正常に動作するようになりました。
  • しかしかホストOSからTereTermを利用してSSH接続が出来ない状況です。
  • ホストOSからTereTermを利用してSSH接続ができる方法をご教授願います。
  1. 設定したこと
  • VitaulBOX上の環境設定ネットワークホストオンリーネットワークにIPアドレス(192.168.56.111)ネットマスクを設定(255.255.0.0)
  • ゲストOSの/etc/sysconfig/network-scripts/ifcfg-enp0s8に固定IPアドレス等の情報を記載(192.168.56.111)
  • CentOSのファイヤーウオールの無効化
  • CentOSのSELinuxの無効化
  1. 事象
  • ホストOSよりTereTermで接続時ユーザ認証画面がでるが、ssh接続できない。
  • ホストOSよりゲストOSのIPアドレスを指定してpingの応答はある。
  1. 環境

ホストOS Windows10 Pro 64bit
TereTerm 4.9.3
VitualBox 5.1.10
ゲストOS CentOS Linux release 7.3.1611 (Core)

  1. TereTermで接続失敗のキャプチャ

イメージ説明

  1. /etc/sysconfig/network-scripts/ifcfg-enp0s8の設定内容
HWADDR=08:00:27:1A:51:B4 TYPE=Ethernet BOOTPROTO=none IPADDR=192.168.56.111 PREFIX=24 DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV4_DNS_PRIORITY=100 IPV6INIT=no NAME=enp0s8 UUID=bc7480f9-ce81-4118-9d5b-720b669de8ba DEVICE=enp0s8 ONBOOT=yes
  1. /etc/ssh/sshd_configの内容
# $OpenBSD: sshd_config,v 1.93 2014/01/10 05:59:19 djm Exp $ # This is the sshd server system-wide configuration file. See # sshd_config(5) for more information. # This sshd was compiled with PATH=/usr/local/bin:/usr/bin # The strategy used for options in the default sshd_config shipped with # OpenSSH is to specify options with their default value where # possible, but leave them commented. Uncommented options override the # default value. # If you want to change the port on a SELinux system, you have to tell # SELinux about this change. # semanage port -a -t ssh_port_t -p tcp #PORTNUMBER # Port 22 #AddressFamily any #ListenAddress 0.0.0.0 #ListenAddress :: # The default requires explicit activation of protocol 1 Protocol 2 # HostKey for protocol version 1 #HostKey /etc/ssh/ssh_host_key # HostKeys for protocol version 2 HostKey /etc/ssh/ssh_host_rsa_key #HostKey /etc/ssh/ssh_host_dsa_key HostKey /etc/ssh/ssh_host_ecdsa_key HostKey /etc/ssh/ssh_host_ed25519_key # Lifetime and size of ephemeral version 1 server key #KeyRegenerationInterval 1h #ServerKeyBits 1024 # Ciphers and keying #RekeyLimit default none # Logging # obsoletes QuietMode and FascistLogging #SyslogFacility AUTH SyslogFacility AUTHPRIV #LogLevel INFO # Authentication: #LoginGraceTime 2m #PermitRootLogin yes #StrictModes yes #MaxAuthTries 6 #MaxSessions 10 #RSAAuthentication yes #PubkeyAuthentication yes # The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2 # but this is overridden so installations will only check .ssh/authorized_keys AuthorizedKeysFile .ssh/authorized_keys #AuthorizedPrincipalsFile none #AuthorizedKeysCommand none #AuthorizedKeysCommandUser nobody # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts #RhostsRSAAuthentication no # similar for protocol version 2 #HostbasedAuthentication no # Change to yes if you don't trust ~/.ssh/known_hosts for # RhostsRSAAuthentication and HostbasedAuthentication #IgnoreUserKnownHosts no # Don't read the user's ~/.rhosts and ~/.shosts files #IgnoreRhosts yes # To disable tunneled clear text passwords, change to no here! #PasswordAuthentication yes #PermitEmptyPasswords no PasswordAuthentication yes # Change to no to disable s/key passwords #ChallengeResponseAuthentication yes ChallengeResponseAuthentication no # Kerberos options #KerberosAuthentication no #KerberosOrLocalPasswd yes #KerberosTicketCleanup yes #KerberosGetAFSToken no #KerberosUseKuserok yes # GSSAPI options GSSAPIAuthentication no GSSAPICleanupCredentials no #GSSAPIStrictAcceptorCheck yes #GSSAPIKeyExchange no #GSSAPIEnablek5users no # Set this to 'yes' to enable PAM authentication, account processing, # and session processing. If this is enabled, PAM authentication will # be allowed through the ChallengeResponseAuthentication and # PasswordAuthentication. Depending on your PAM configuration, # PAM authentication via ChallengeResponseAuthentication may bypass # the setting of "PermitRootLogin without-password". # If you just want the PAM account and session checks to run without # PAM authentication, then enable this but set PasswordAuthentication # and ChallengeResponseAuthentication to 'no'. # WARNING: 'UsePAM no' is not supported in Red Hat Enterprise Linux and may cause several # problems. UsePAM yes #AllowAgentForwarding yes #AllowTcpForwarding yes #GatewayPorts no X11Forwarding yes #X11DisplayOffset 10 #X11UseLocalhost yes #PermitTTY yes #PrintMotd yes #PrintLastLog yes #TCPKeepAlive yes #UseLogin no UsePrivilegeSeparation sandbox # Default for new installations. #PermitUserEnvironment no #Compression delayed #ClientAliveInterval 0 #ClientAliveCountMax 3 #ShowPatchLevel no #UseDNS yes #PidFile /var/run/sshd.pid #MaxStartups 10:30:100 #PermitTunnel no #ChrootDirectory none #VersionAddendum none # no default banner path #Banner none # Accept locale-related environment variables AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE AcceptEnv XMODIFIERS # override default of no subsystems Subsystem sftp /usr/libexec/openssh/sftp-server # Example of overriding settings on a per-user basis #Match User anoncvs # X11Forwarding no # AllowTcpForwarding no # PermitTTY no # ForceCommand cvs server

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答2

0

ユーザ認証画面が出るので、状況的にネットワークの問題ではないと思います。
認証失敗時にCentOS7側の /var/log/secure に出るログはどのようになっているでしょうか。

あと、TeraTermはユーザ認証画面の「パスフレーズ」欄には文字列をペーストできないようですので、もしペーストしているようなら手入力してみて下さい。

投稿2016/12/17 04:24

編集2016/12/17 04:29
yunano

総合スコア841

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

DD51_742

2016/12/17 04:41

ssh接続を試みた時に以下のような出力がされていました。 Dec 17 13:36:27 localhost gdm-password]: pam_unix(gdm-password:auth): conversation failed Dec 17 13:36:27 localhost gdm-password]: pam_unix(gdm-password:auth): auth could not identify password for [hoge] Dec 17 13:36:27 localhost gdm-password]: gkr-pam: no password is available for user Dec 17 13:36:31 localhost gdm-password]: gkr-pam: unlocked login keyring
yunano

2016/12/17 05:01

/etc/pam.d/gdm-password のauth項に引っ掛かっている旨のエラーのようですが、/etc/pam.d/gdm-passwordは何か修正されましたでしょうか。
yunano

2016/12/17 05:04

また、CentOS7側でssh hoge@localhostを実行するとログインに成功するでしょうか。 失敗する場合、今度は/var/log/secureには何が出力されるでしょうか。
DD51_742

2016/12/17 13:35

/etc/pam.d/gdm-passwordは意図的に修正したつもりはないです。 ssh hoge@localhostはログイン成功しました。 その時の/var/log/secureの内容です。 Dec 17 22:33:02 localhost sshd[18088]: Accepted password for hoge from ::1 port 59176 ssh2 Dec 17 22:33:02 localhost sshd[18088]: pam_unix(sshd:session): session opened for user hoge by (uid=0)
DD51_742

2016/12/17 13:37

念のため/etc/pam.d/gdm-passwordの内容です。 [hoge@localhost ~]$ cat /etc/pam.d/gdm-password auth [success=done ignore=ignore default=bad] pam_selinux_permit.so auth substack password-auth auth optional pam_gnome_keyring.so auth include postlogin account required pam_nologin.so account include password-auth password substack password-auth -password optional pam_gnome_keyring.so use_authtok session required pam_selinux.so close session required pam_loginuid.so session optional pam_console.so -session optional pam_ck_connector.so session required pam_selinux.so open session optional pam_keyinit.so force revoke session required pam_namespace.so session include password-auth session optional pam_gnome_keyring.so auto_start session include postlogin
yunano

2016/12/17 14:27

正直なところ原因に思い当たるところがありませんので、こちらの環境で問題が再現するかどうか試してみます。 インストール時の「ソフトウェアの選択」で何を選んだか教えて頂けませんでしょうか。(GNOME Desktopですかね?) 何かわかったらお伝えします。 何もわからなかった場合はごめんなさい。
DD51_742

2016/12/17 15:36

こちらこそお手数をおかけして申し訳ありません。 CentOSの公式から最新のISOイメージを落として。 GNOMEソフトウエア選択しました。 その後yum update を実施して、パッケージもかなり追加しています。
DD51_742

2016/12/17 15:37

root@localhost log]# cat /var/log/yum.log Dec 17 01:33:56 Updated: ipa-common-4.4.0-14.el7.centos.noarch Dec 17 01:33:58 Updated: python-sssdconfig-1.14.0-43.el7_3.4.noarch Dec 17 01:34:01 Updated: tzdata-java-2016j-1.el7.noarch Dec 17 01:34:02 Updated: 32:bind-license-9.9.4-38.el7_3.noarch Dec 17 01:34:03 Updated: ipa-client-common-4.4.0-14.el7.centos.noarch Dec 17 01:34:06 Updated: tzdata-2016j-1.el7.noarch Dec 17 01:34:15 Updated: glibc-2.17-157.el7_3.1.x86_64 Dec 17 01:34:17 Updated: bash-4.2.46-21.el7_3.x86_64 Dec 17 01:34:24 Updated: glibc-common-2.17-157.el7_3.1.x86_64 Dec 17 01:34:26 Updated: nss-util-3.21.3-1.1.el7_3.x86_64 Dec 17 01:34:28 Updated: nss-3.21.3-2.el7_3.x86_64 Dec 17 01:34:29 Updated: nss-sysinit-3.21.3-2.el7_3.x86_64 Dec 17 01:34:31 Updated: krb5-libs-1.14.1-27.el7_3.x86_64 Dec 17 01:34:33 Updated: libsss_idmap-1.14.0-43.el7_3.4.x86_64 Dec 17 01:34:37 Updated: policycoreutils-2.5-9.el7.x86_64 Dec 17 01:34:39 Updated: libgcrypt-1.5.3-13.el7_3.1.x86_64 Dec 17 01:34:40 Updated: systemd-libs-219-30.el7_3.6.x86_64 Dec 17 01:34:48 Updated: systemd-219-30.el7_3.6.x86_64 Dec 17 01:34:50 Updated: libgudev1-219-30.el7_3.6.x86_64 Dec 17 01:34:51 Updated: 7:device-mapper-libs-1.02.135-1.el7_3.1.x86_64 Dec 17 01:34:53 Updated: 7:device-mapper-1.02.135-1.el7_3.1.x86_64 Dec 17 01:34:56 Updated: 7:device-mapper-event-libs-1.02.135-1.el7_3.1.x86_64 Dec 17 01:35:08 Updated: 1:java-1.8.0-openjdk-headless-1.8.0.111-2.b15.el7_3.x86_64 Dec 17 01:35:09 Updated: 1:NetworkManager-libnm-1.4.0-13.el7_3.x86_64 Dec 17 01:35:12 Updated: 1:NetworkManager-1.4.0-13.el7_3.x86_64 Dec 17 01:35:13 Updated: libsss_autofs-1.14.0-43.el7_3.4.x86_64 Dec 17 01:35:15 Updated: libipa_hbac-1.14.0-43.el7_3.4.x86_64 Dec 17 01:35:17 Updated: python-libipa_hbac-1.14.0-43.el7_3.4.x86_64 Dec 17 01:35:18 Updated: 1:NetworkManager-wwan-1.4.0-13.el7_3.x86_64 Dec 17 01:35:20 Updated: 1:java-1.7.0-openjdk-1.7.0.121-2.6.8.0.el7_3.x86_64 Dec 17 01:35:28 Updated: 1:java-1.7.0-openjdk-headless-1.7.0.121-2.6.8.0.el7_3.x86_64 Dec 17 01:35:29 Updated: 7:device-mapper-event-1.02.135-1.el7_3.1.x86_64 Dec 17 01:35:30 Updated: 7:lvm2-libs-2.02.166-1.el7_3.1.x86_64 Dec 17 01:35:34 Updated: 7:lvm2-2.02.166-1.el7_3.1.x86_64 Dec 17 01:35:36 Updated: libvirt-client-2.0.0-10.el7_3.2.x86_64 Dec 17 01:35:43 Updated: systemd-sysv-219-30.el7_3.6.x86_64 Dec 17 01:35:45 Updated: libvirt-daemon-2.0.0-10.el7_3.2.x86_64 Dec 17 01:35:46 Updated: libvirt-daemon-driver-network-2.0.0-10.el7_3.2.x86_64 Dec 17 01:35:48 Updated: libvirt-daemon-driver-storage-2.0.0-10.el7_3.2.x86_64 Dec 17 01:35:50 Updated: libvirt-daemon-driver-qemu-2.0.0-10.el7_3.2.x86_64 Dec 17 01:35:51 Updated: libvirt-daemon-driver-interface-2.0.0-10.el7_3.2.x86_64 Dec 17 01:35:53 Updated: libvirt-daemon-driver-nwfilter-2.0.0-10.el7_3.2.x86_64 Dec 17 01:35:58 Updated: libvirt-daemon-driver-nodedev-2.0.0-10.el7_3.2.x86_64 Dec 17 01:35:59 Updated: libvirt-daemon-driver-secret-2.0.0-10.el7_3.2.x86_64 Dec 17 01:36:06 Updated: selinux-policy-3.13.1-102.el7_3.7.noarch Dec 17 01:36:09 Updated: libkadm5-1.14.1-27.el7_3.x86_64 Dec 17 01:36:12 Updated: krb5-workstation-1.14.1-27.el7_3.x86_64 Dec 17 01:36:13 Updated: 32:bind-libs-9.9.4-38.el7_3.x86_64 Dec 17 01:36:15 Updated: 32:bind-utils-9.9.4-38.el7_3.x86_64 Dec 17 01:36:16 Updated: nss-tools-3.21.3-2.el7_3.x86_64 Dec 17 01:36:18 Updated: python-perf-3.10.0-514.2.2.el7.x86_64 Dec 17 01:36:19 Updated: python-sss-murmur-1.14.0-43.el7_3.4.x86_64 Dec 17 01:36:24 Updated: python2-ipalib-4.4.0-14.el7.centos.noarch Dec 17 01:36:34 Updated: python2-ipaclient-4.4.0-14.el7.centos.noarch Dec 17 01:36:35 Updated: libsss_nss_idmap-1.14.0-43.el7_3.4.x86_64 Dec 17 01:36:36 Updated: sssd-client-1.14.0-43.el7_3.4.x86_64 Dec 17 01:36:39 Updated: kernel-tools-libs-3.10.0-514.2.2.el7.x86_64 Dec 17 01:36:40 Updated: libsss_sudo-1.14.0-43.el7_3.4.x86_64 Dec 17 01:36:43 Updated: sssd-common-1.14.0-43.el7_3.4.x86_64 Dec 17 01:36:45 Updated: sssd-krb5-common-1.14.0-43.el7_3.4.x86_64 Dec 17 01:36:46 Updated: sssd-common-pac-1.14.0-43.el7_3.4.x86_64 Dec 17 01:36:48 Updated: sssd-ipa-1.14.0-43.el7_3.4.x86_64 Dec 17 01:36:49 Updated: sssd-ad-1.14.0-43.el7_3.4.x86_64 Dec 17 01:36:51 Updated: sssd-ldap-1.14.0-43.el7_3.4.x86_64 Dec 17 01:36:52 Updated: sssd-krb5-1.14.0-43.el7_3.4.x86_64 Dec 17 01:36:56 Updated: sssd-proxy-1.14.0-43.el7_3.4.x86_64 Dec 17 01:36:57 Updated: sssd-1.14.0-43.el7_3.4.x86_64 Dec 17 01:36:59 Updated: ipa-client-4.4.0-14.el7.centos.x86_64 Dec 17 01:37:01 Updated: kernel-tools-3.10.0-514.2.2.el7.x86_64 Dec 17 01:37:05 Updated: tuned-2.7.1-3.el7_3.1.noarch Dec 17 01:37:13 Updated: selinux-policy-targeted-3.13.1-102.el7_3.7.noarch Dec 17 01:37:15 Updated: libvirt-daemon-kvm-2.0.0-10.el7_3.2.x86_64 Dec 17 01:37:16 Updated: libvirt-daemon-config-network-2.0.0-10.el7_3.2.x86_64 Dec 17 01:37:18 Updated: 1:NetworkManager-bluetooth-1.4.0-13.el7_3.x86_64 Dec 17 01:37:19 Updated: 1:NetworkManager-team-1.4.0-13.el7_3.x86_64 Dec 17 01:37:21 Updated: 1:NetworkManager-wifi-1.4.0-13.el7_3.x86_64 Dec 17 01:37:22 Updated: 1:NetworkManager-adsl-1.4.0-13.el7_3.x86_64 Dec 17 01:37:23 Updated: 1:NetworkManager-tui-1.4.0-13.el7_3.x86_64 Dec 17 01:37:26 Updated: 1:java-1.8.0-openjdk-1.8.0.111-2.b15.el7_3.x86_64 Dec 17 01:37:28 Updated: 1:NetworkManager-glib-1.4.0-13.el7_3.x86_64 Dec 17 01:37:29 Updated: systemd-python-219-30.el7_3.6.x86_64 Dec 17 01:37:31 Updated: chrony-2.1.1-4.el7.centos.x86_64 Dec 17 01:37:33 Updated: sudo-1.8.6p7-21.el7_3.x86_64 Dec 17 01:37:35 Updated: policycoreutils-python-2.5-9.el7.x86_64 Dec 17 01:37:37 Updated: 32:bind-libs-lite-9.9.4-38.el7_3.x86_64 Dec 17 01:37:46 Updated: firefox-45.6.0-1.el7.centos.x86_64 Dec 17 01:38:16 Installed: kernel-3.10.0-514.2.2.el7.x86_64 Dec 17 01:38:17 Updated: expat-2.1.0-10.el7_3.x86_64 Dec 17 01:38:20 Updated: sos-3.3-5.el7.centos.noarch
DD51_742

2016/12/17 15:38

Dec 17 01:42:38 Installed: libmpc-1.0.1-3.el7.x86_64 Dec 17 01:42:40 Installed: cpp-4.8.5-11.el7.x86_64 Dec 17 01:42:44 Installed: kernel-headers-3.10.0-514.2.2.el7.x86_64 Dec 17 01:42:47 Installed: glibc-headers-2.17-157.el7_3.1.x86_64 Dec 17 01:42:48 Installed: glibc-devel-2.17-157.el7_3.1.x86_64 Dec 17 01:42:51 Installed: gcc-4.8.5-11.el7.x86_64 Dec 17 01:43:23 Installed: kernel-devel-3.10.0-514.2.2.el7.x86_64 Dec 17 03:18:42 Installed: ilmbase-1.0.3-7.el7.x86_64 Dec 17 03:18:43 Installed: OpenEXR-libs-1.7.1-7.el7.x86_64 Dec 17 03:18:45 Installed: libXaw-1.0.12-5.el7.x86_64 Dec 17 03:18:46 Installed: libotf-0.9.13-4.el7.x86_64 Dec 17 03:18:47 Installed: liblockfile-1.08-17.el7.x86_64 Dec 17 03:18:58 Installed: 1:emacs-common-24.3-18.el7.x86_64 Dec 17 03:18:59 Installed: libwmf-lite-0.2.8.4-41.el7_1.x86_64 Dec 17 03:19:02 Installed: ImageMagick-6.7.8.9-15.el7_2.x86_64 Dec 17 03:19:05 Installed: 1:emacs-24.3-18.el7.x86_64 Dec 17 04:17:54 Erased: icedtea-web-1.6.2-4.el7.x86_64 Dec 17 04:17:57 Erased: rhino-1.7R4-5.el7.noarch Dec 17 04:17:59 Erased: jline-1.0-8.el7.noarch Dec 17 04:18:00 Erased: 1:java-1.8.0-openjdk-1.8.0.111-2.b15.el7_3.x86_64 Dec 17 04:18:03 Erased: 1:java-1.7.0-openjdk-1.7.0.121-2.6.8.0.el7_3.x86_64 Dec 17 04:21:10 Installed: postgresql94-libs-9.4.10-1PGDG.rhel7.x86_64 Dec 17 04:21:13 Installed: postgresql94-9.4.10-1PGDG.rhel7.x86_64 Dec 17 04:21:17 Installed: postgresql94-contrib-9.4.10-1PGDG.rhel7.x86_64 Dec 17 04:21:25 Installed: postgresql94-devel-9.4.10-1PGDG.rhel7.x86_64 Dec 17 04:21:30 Installed: postgresql94-server-9.4.10-1PGDG.rhel7.x86_64 Dec 17 04:31:29 Updated: pgdg-centos94-9.4-3.noarch Dec 17 04:31:30 Updated: 1:python-dateutil-2.5.3-3.rhel7.noarch Dec 17 04:31:31 Updated: pytz-2016.6.1-2.rhel7.noarch Dec 17 04:33:29 Installed: epel-release-7-6.noarch Dec 17 04:33:31 Installed: ius-release-1.0-14.ius.centos7.noarch Dec 17 04:36:17 Installed: python35u-libs-3.5.2-1.ius.centos7.x86_64 Dec 17 04:36:18 Installed: python35u-3.5.2-1.ius.centos7.x86_64 Dec 17 04:36:21 Installed: python35u-setuptools-28.7.1-1.ius.centos7.noarch Dec 17 04:36:25 Installed: python35u-pip-9.0.1-1.ius.centos7.noarch Dec 17 04:37:25 Installed: sl-5.02-1.el7.x86_64 Dec 17 04:38:20 Updated: epel-release-7-8.noarch Dec 17 04:39:34 Installed: 1:nkf-2.1.3-5.el7.x86_64 Dec 17 04:40:20 Installed: lynx-2.8.8-0.3.dev15.el7.x86_64 Dec 17 04:41:09 Installed: ruby-libs-2.0.0.648-29.el7.x86_64 Dec 17 04:41:10 Installed: libyaml-0.1.4-11.el7_0.x86_64 Dec 17 04:41:12 Installed: rubygem-psych-2.0.0-29.el7.x86_64 Dec 17 04:41:13 Installed: ruby-irb-2.0.0.648-29.el7.noarch Dec 17 04:41:14 Installed: ruby-2.0.0.648-29.el7.x86_64 Dec 17 04:41:16 Installed: rubygem-bigdecimal-1.2.0-29.el7.x86_64 Dec 17 04:41:17 Installed: rubygem-json-1.7.7-29.el7.x86_64 Dec 17 04:41:18 Installed: rubygem-io-console-0.4.2-29.el7.x86_64 Dec 17 04:41:20 Installed: rubygem-rdoc-4.0.0-29.el7.noarch Dec 17 04:41:22 Installed: rubygems-2.0.14.1-29.el7.noarch Dec 17 04:43:32 Installed: 1:perl-Error-0.17020-2.el7.noarch Dec 17 04:43:34 Installed: keyutils-libs-devel-1.5.8-3.el7.x86_64 Dec 17 04:43:35 Installed: pcre-devel-8.32-15.el7_2.1.x86_64 Dec 17 04:43:36 Installed: libsepol-devel-2.5-6.el7.x86_64 Dec 17 04:43:38 Installed: libselinux-devel-2.5-6.el7.x86_64 Dec 17 04:43:39 Installed: libcom_err-devel-1.42.9-9.el7.x86_64 Dec 17 04:43:41 Installed: perl-TermReadKey-2.30-20.el7.x86_64 Dec 17 04:43:42 Installed: perl-Git-1.8.3.1-6.el7_2.1.noarch Dec 17 04:43:46 Installed: git-1.8.3.1-6.el7_2.1.x86_64 Dec 17 04:43:47 Installed: libverto-devel-0.2.5-4.el7.x86_64 Dec 17 04:43:49 Installed: krb5-devel-1.14.1-27.el7_3.x86_64 Dec 17 04:43:50 Installed: gettext-common-devel-0.18.2.1-4.el7.noarch Dec 17 04:43:51 Installed: zlib-devel-1.2.7-17.el7.x86_64 Dec 17 04:43:54 Installed: 1:openssl-devel-1.0.1e-60.el7.x86_64 Dec 17 04:43:56 Installed: gettext-devel-0.18.2.1-4.el7.x86_64 Dec 17 04:43:57 Installed: expat-devel-2.1.0-10.el7_3.x86_64 Dec 17 04:43:59 Installed: libcurl-devel-7.29.0-35.el7.centos.x86_64 Dec 17 04:51:13 Installed: gdbm-devel-1.10-8.el7.x86_64 Dec 17 04:51:14 Installed: perl-Digest-1.17-245.el7.noarch Dec 17 04:51:15 Installed: 1:perl-Digest-SHA-5.85-3.el7.x86_64 Dec 17 04:51:16 Installed: libdb-devel-5.3.21-19.el7.x86_64 Dec 17 04:51:17 Installed: perl-local-lib-1.008010-3.el7.noarch Dec 17 04:51:19 Installed: systemtap-sdt-devel-3.0-7.el7.x86_64 Dec 17 04:51:20 Installed: perl-ExtUtils-Manifest-1.61-244.el7.noarch Dec 17 04:51:22 Installed: perl-Test-Harness-3.28-3.el7.noarch Dec 17 04:51:23 Installed: perl-ExtUtils-Install-1.58-291.el7.noarch Dec 17 04:51:24 Installed: perl-ExtUtils-MakeMaker-6.68-3.el7.noarch Dec 17 04:51:25 Installed: 1:perl-ExtUtils-ParseXS-3.18-2.el7.noarch Dec 17 04:51:27 Installed: 4:perl-devel-5.16.3-291.el7.x86_64 Dec 17 04:51:28 Installed: perl-Data-Dumper-2.145-3.el7.x86_64 Dec 17 04:51:30 Installed: perl-CPAN-1.9800-291.el7.noarch Dec 17 04:58:42 Installed: golang-src-1.6.3-2.el7.noarch Dec 17 04:58:49 Installed: golang-1.6.3-2.el7.x86_64 Dec 17 04:58:57 Installed: golang-bin-1.6.3-2.el7.x86_64 Dec 17 04:59:37 Installed: banner-1.3.4-3.el7.x86_64
DD51_742

2016/12/17 15:39

Dec 17 08:39:49 Installed: apr-1.4.8-3.el7.x86_64 Dec 17 08:39:50 Installed: apr-util-1.5.2-6.el7.x86_64 Dec 17 08:39:52 Installed: httpd-tools-2.4.6-45.el7.centos.x86_64 Dec 17 08:39:54 Installed: mailcap-2.1.41-2.el7.noarch Dec 17 08:39:57 Installed: httpd-2.4.6-45.el7.centos.x86_64 Dec 17 08:41:59 Installed: patch-2.7.1-8.el7.x86_64 Dec 17 08:51:28 Installed: 1:nginx-1.10.2-1.el7.ngx.x86_64 Dec 17 08:53:35 Installed: sshpass-1.05-5.el7.x86_64 Dec 17 08:53:37 Installed: 1:oci-systemd-hook-0.1.4-6.git337078c.el7.x86_64 Dec 17 08:53:39 Installed: 1:oci-register-machine-0-1.10.gitfcdbff0.el7.x86_64 Dec 17 08:53:41 Installed: python-httplib2-0.7.7-3.el7.noarch Dec 17 08:53:44 Installed: libtommath-0.42.0-4.el7.x86_64 Dec 17 08:53:46 Installed: libtomcrypt-1.17-23.el7.x86_64 Dec 17 08:53:50 Installed: python2-crypto-2.6.1-10.el7.x86_64 Dec 17 08:53:51 Installed: python-keyczar-0.71c-2.el7.noarch Dec 17 08:53:57 Installed: 2:container-selinux-1.10.3-59.el7.centos.x86_64 Dec 17 08:53:59 Installed: PyYAML-3.10-11.el7.x86_64 Dec 17 08:54:01 Installed: python2-ecdsa-0.13-4.el7.noarch Dec 17 08:54:02 Installed: python2-paramiko-1.16.1-1.el7.noarch Dec 17 08:54:04 Installed: 2:docker-common-1.10.3-59.el7.centos.x86_64 Dec 17 08:54:05 Installed: python-markupsafe-0.23-11.rhel7.x86_64 Dec 17 08:54:08 Installed: python-babel-1.3-1.rhel7.noarch Dec 17 08:54:10 Installed: python-jinja2-2.8-7.rhel7.noarch Dec 17 08:54:24 Installed: ansible-2.2.0.0-4.el7.noarch Dec 17 08:54:29 Installed: 2:docker-1.10.3-59.el7.centos.x86_64 Dec 17 09:00:36 Erased: unoconv-0.6-7.el7.noarch Dec 17 09:00:37 Erased: 1:libreoffice-draw-5.0.6.2-3.el7.x86_64 Dec 17 09:00:39 Erased: 1:libreoffice-pdfimport-5.0.6.2-3.el7.x86_64 Dec 17 09:00:40 Erased: 1:libreoffice-langpack-ja-5.0.6.2-3.el7.x86_64 Dec 17 09:00:41 Erased: 1:libreoffice-calc-5.0.6.2-3.el7.x86_64 Dec 17 09:00:43 Erased: 1:libreoffice-impress-5.0.6.2-3.el7.x86_64 Dec 17 09:00:44 Erased: 1:libreoffice-writer-5.0.6.2-3.el7.x86_64 Dec 17 09:00:46 Erased: 1:libreoffice-graphicfilter-5.0.6.2-3.el7.x86_64 Dec 17 09:00:47 Erased: 1:libreoffice-pyuno-5.0.6.2-3.el7.x86_64 Dec 17 09:00:49 Erased: 1:libreoffice-core-5.0.6.2-3.el7.x86_64 Dec 17 09:00:54 Erased: 1:libreoffice-opensymbol-fonts-5.0.6.2-3.el7.noarch Dec 17 09:00:56 Erased: 1:libreoffice-ure-5.0.6.2-3.el7.x86_64 Dec 17 09:18:40 Installed: boost-chrono-1.53.0-26.el7.x86_64 Dec 17 09:18:41 Installed: boost-filesystem-1.53.0-26.el7.x86_64 Dec 17 09:18:43 Installed: boost-regex-1.53.0-26.el7.x86_64 Dec 17 09:18:45 Installed: boost-graph-1.53.0-26.el7.x86_64 Dec 17 09:18:46 Installed: boost-wave-1.53.0-26.el7.x86_64 Dec 17 09:18:48 Installed: boost-locale-1.53.0-26.el7.x86_64 Dec 17 09:18:50 Installed: boost-timer-1.53.0-26.el7.x86_64 Dec 17 09:18:52 Installed: boost-random-1.53.0-26.el7.x86_64 Dec 17 09:18:53 Installed: boost-test-1.53.0-26.el7.x86_64 Dec 17 09:18:55 Installed: boost-math-1.53.0-26.el7.x86_64 Dec 17 09:18:56 Installed: boost-atomic-1.53.0-26.el7.x86_64 Dec 17 09:18:58 Installed: boost-program-options-1.53.0-26.el7.x86_64 Dec 17 09:19:01 Installed: boost-python-1.53.0-26.el7.x86_64 Dec 17 09:19:03 Installed: boost-signals-1.53.0-26.el7.x86_64 Dec 17 09:19:08 Installed: boost-context-1.53.0-26.el7.x86_64 Dec 17 09:19:11 Installed: boost-serialization-1.53.0-26.el7.x86_64 Dec 17 09:19:13 Installed: boost-1.53.0-26.el7.x86_64 Dec 17 09:19:55 Installed: boost-devel-1.53.0-26.el7.x86_64 Dec 17 09:24:04 Installed: systemtap-devel-3.0-7.el7.x86_64 Dec 17 09:24:49 Installed: kernel-debuginfo-common-x86_64-3.10.0-229.1.2.el7.x86_64 Dec 17 09:24:51 Installed: mokutil-0.9-2.el7.x86_64 Dec 17 09:24:55 Installed: systemtap-client-3.0-7.el7.x86_64 Dec 17 09:24:58 Installed: systemtap-3.0-7.el7.x86_64 Dec 17 09:26:25 Installed: kernel-debuginfo-3.10.0-229.1.2.el7.x86_64 Dec 17 13:48:00 Installed: subversion-libs-1.7.14-10.el7.x86_64 Dec 17 13:48:05 Installed: subversion-1.7.14-10.el7.x86_64 Dec 17 13:54:29 Installed: gnuplot-common-4.6.2-3.el7.x86_64 Dec 17 13:54:34 Installed: gnuplot-4.6.2-3.el7.x86_64 Dec 17 13:55:39 Installed: cvs-1.11.23-35.el7.x86_64 Dec 17 14:04:11 Installed: php-json-7.0.14-1.el7.remi.x86_64 Dec 17 14:04:13 Installed: php-common-7.0.14-1.el7.remi.x86_64 Dec 17 14:04:14 Installed: php-cli-7.0.14-1.el7.remi.x86_64 Dec 17 14:04:15 Installed: m4-1.4.16-10.el7.x86_64 Dec 17 14:04:17 Installed: autoconf-2.69-11.el7.noarch Dec 17 14:04:18 Installed: gd-last-2.2.3-1.el7.remi.x86_64 Dec 17 14:04:19 Installed: perl-Thread-Queue-3.02-2.el7.noarch Dec 17 14:04:22 Installed: automake-1.13.4-3.el7.noarch Dec 17 14:04:24 Installed: php-devel-7.0.14-1.el7.remi.x86_64 Dec 17 14:04:26 Installed: php-gd-7.0.14-1.el7.remi.x86_64 Dec 17 14:04:28 Installed: php-7.0.14-1.el7.remi.x86_64 Dec 17 14:04:30 Installed: php-mbstring-7.0.14-1.el7.remi.x86_64 Dec 17 14:04:31 Installed: php-pdo-7.0.14-1.el7.remi.x86_64 Dec 17 17:39:30 Installed: finger-0.17-52.el7.x86_64
yunano

2016/12/17 16:17

ありがとうございます。では試してみます。
yunano

2016/12/18 02:07

頂いたpam_unix(gdm-password:auth)のエラーは、手元では(SSH接続時ではなく)デスクトップのログイン画面でパスワードを入力せずにキャンセルした際に発生しました。 SSH接続時のエラーならpam_unix(sshd:auth)に本来ならなるはずです。 そのため、SSH接続がそのマシンではなく別の何かに接続しようとしているのではないかという可能性を見ています。 そこで気になったのは、 > VitaulBOX上の環境設定ネットワークホストオンリーネットワークにIPアドレス(192.168.56.111)ネットマスクを設定(255.255.0.0) > ゲストOSの/etc/sysconfig/network-scripts/ifcfg-enp0s8に固定IPアドレス等の情報を記載(192.168.56.111) この両者のIPアドレスが同じものになっていることです。 こちらの記述は正しいでしょうか。
guest

0

ベストアンサー

自分はUbuntuなのですが以下の設定でできております。
http://note.kurodigi.com/vbox-ssh/
Virtualboxのポートフォワーディングを設定
ホスト2222 ゲスト22
sshのクライアント
アドレスはlocalhostでポートは2222
でログインできております

投稿2017/01/21 23:03

barobaro

総合スコア1286

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.50%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問