2025년 1월 17일 금요일

우분투 쉘 변경

우분투의기본 쉘:dash
 

ls -al /bin/sh

sudo dpkg-reconfigure dash


출처: http://jang574.tistory.com/82

2025년 1월 4일 토요일

WSL에서 SSH 사용하는 법

  1. sudo apt-get purge openssh-server
  2. sudo apt-get install openssh-server
  3. sudo nano /etc/ssh/sshd_config and disallow root login by setting PermitRootLogin no
  4. Then add a line beneath it that says:

    AllowUsers yourusername

    and make sure PasswordAuthentication is set to yes if you want to login using a password.

  5. Disable privilege separation by adding/modifying : UsePrivilegeSeparation no

  6. sudo service ssh --full-restart

     

    출처: https://superuser.com/questions/1111591/how-can-i-ssh-into-bash-on-ubuntu-on-windows-10