WSL Debian SSH 서버 설정

1 개요[ | ]

WSL Debian SSH 서버 설정
WSL 2 Debian SSH 서버 설정
C:\Users\jmnote>wsl
testuser1@DESKTOP-VKP61Q8:/mnt/c/Users/jmnote$ sudo -i
root@DESKTOP-VKP61Q8:~# ss -tnlp
State    Recv-Q    Send-Q       Local Address:Port       Peer Address:Port
root@DESKTOP-VKP61Q8:~# apt update
... (생략)
root@DESKTOP-VKP61Q8:~# apt install -y openssh-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
... (생략)
Created symlink /etc/systemd/system/multi-user.target.wants/ssh.service → /lib/systemd/system/ssh.service.
invoke-rc.d: could not determine current runlevel
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for systemd (241-7~deb10u4) ...
root@DESKTOP-VKP61Q8:~# ss -tnlp
State     Recv-Q    Send-Q       Local Address:Port       Peer Address:Port   
LISTEN    0         128                0.0.0.0:22              0.0.0.0:*       users:(("sshd",pid=1472,fd=3))
LISTEN    0         128                   [::]:22                 [::]:*       users:(("sshd",pid=1472,fd=4))

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}