LinuxでSSHを使用してWindowsオペレーティングシステムに接続する[閉じる]

LinuxでSSHを使用してWindowsオペレーティングシステムに接続する[閉じる]

Windowsシステムでは、Oracle VM VirtualBoxにUbuntuをインストールしました。

Ubuntuから別のLinuxシステムに接続するには、次の手順を実行します。

$ ssh username@ip

しかし、私のWindowsコンピュータに接続したい場合、この方法は機能しません!

sshそれでは、Ubuntuを使用してWindowsマシン(つまり、仮想マシンvirtualBox内)にどのように接続しますか?

@bodhi.zazen 回答ありがとうございます。opensshWindowsにインストールした後にssh username@ip使用すると、次のエラーが発生しました。

root@lime-VirtualBox:/home/lime# ssh [email protected]

                        ****USAGE WARNING****

This is a private computer system. This computer system, including all
related equipment, networks, and network devices (specifically including
Internet access) are provided only for authorized use. This computer system
may be monitored for all lawful purposes, including to ensure that its use
is authorized, for management of the system, to facilitate protection against
unauthorized access, and to verify security procedures, survivability, and
operational security. Monitoring includes active attacks by authorized entities
to test or verify the security of this system. During monitoring, information
may be examined, recorded, copied and used for authorized purposes. All
information, including personal information, placed or sent over this system
may be monitored.

Use of this computer system, authorized or unauthorized, constitutes consent
to monitoring of this system. Unauthorized use may subject you to criminal
prosecution. Evidence of unauthorized use collected during monitoring may be
used for administrative, criminal, or other adverse action. Use of this system
constitutes consent to monitoring for these purposes.


[email protected]'s password: 
Permission denied, please try again.
[email protected]'s password: 
Permission denied, please try again.
[email protected]'s password: 
Permission denied (publickey,password,keyboard-interactive).

私のWindowsコンピュータでは、C:\Program Files (x86)\OpenSSH for Window/etc/sshd_config次のように再編集しました。

PermitRootLogin yes
PasswordAuthentication yes

しかし、まだ同じエラーが発生します。

WindowsコンピュータでUbuntuを接続するとsshエラーが発生します。

Permission denied (publickey,password,keyboard-interactive)

それでも存在します。

ベストアンサー1

同じ方法ですが、WindowsシステムでSSHサーバーを実行する必要があります(接続にファイアウォールが設定されていないことを確認してください)。

バラより -https://stackoverflow.com/questions/18292/what-are-some-good-ssh-servers-for-windows

編集:Windows SSHクライアントが必要な場合はPuTTyを使用してください。

http://www.chiark.greenend.org.uk/~sgtatham/putty/

おすすめ記事