문서의 이전 판입니다!
Windows
# 한시간뒤 종료
shutdown -s -t 3600
# 바로 종료
shutdown -s -t 0
# 종료 취소
shutdown -a
# build
all. bat
# solarized_dark를 기본 color scheme으로 적용
colortool -d solarized_dark
Ubuntu와 Windows 듀얼부팅시, Windows에서 시간이 안맞을 때 사용
- utc-time.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"RealTimeIsUniversal"=dword:00000001
mklink /d {link name} {target directory}
WIN + R → 명령 입력 → CTRL + SHIFT + ENTER
windows key + '.'
×: alt + 0215
# C:\Program Files\OpenSSH에 압축해제
# 관리자 권한으로..
powershell.exe -ExecutionPolicy Bypass -File install-sshd.ps1
ssh-keygen.exe -A
powershell.exe -ExecutionPolicy Bypass -File FixHostFilePermissions.ps1
powershell.exe -ExecutionPolicy Bypass -File FixUserFilePermissions.ps1
# 방화벽 설정
(서버) New-NetFirewallRule -Name sshd -DisplayName 'OpenSSH Server (sshd)' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22
(데스크톱, windows 10) netsh advfirewall firewall add rule name=sshd dir=in action=allow protocol=TCP localport=22
# 서비스 시작
net start sshd
# 서비스 자동 시작
Set-Service sshd -StartupType Automatic
Set-Service ssh-agent -StartupType Automatic
-
sudo service ssh --full-restart