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/

답변2

Windows 시스템은 일부 SSH 서버를 실행해야 합니다. 예를 들어 저는 다음이 마음에 듭니다: freeSSHD(http://www.freesshd.com/) 내 필요에 맞는 것입니다. 단지 Windows 스타일 폴더 등을 존중해야 한다는 것뿐입니다. 간단합니다. DOS 프롬프트를 입력하게 됩니다. freeSSHd의 추가 기능을 사용하면 Windows 파일 및 폴더를 로컬 드라이브에 마운트하여 SFTP를 통해 연결할 수 있고, sshfs허용된 사용자를 관리하고, 필요한 경우 액세스 키를 관리할 수 있으며, freeSSHd를 서비스로 실행하도록 간단히 선택할 수 있습니다. 로그인해야 합니다.

편집기 업데이트

구성에서 특정 AllowUsers 또는 AllowGroups를 허용했습니까? Linux 루트로 로그인했거나 Windows 사용자/비밀번호를 사용하고 있습니까? 적대적인 Windows 환경에서 이 소프트웨어를 실행하고 있다는 사실을 잊지 마십시오. 이 사용자는 Windows에서 특정 작업을 실행할 수 있어야 하므로 먼저 관리자 계정을 사용하여 시도해 보세요.

관련 정보