18 lines
314 B
Plaintext
18 lines
314 B
Plaintext
allow run ps1
|
|
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
|
|
|
|
generate key (one time)
|
|
ssh-keygen
|
|
|
|
copy to remote
|
|
ssh-copy-id root@192.168.1.215
|
|
|
|
connect without password
|
|
ssh root@192.168.1.215
|
|
|
|
wsl host folders
|
|
cd /mnt/d/WORK/MyOffice
|
|
|
|
terminal history to file
|
|
history > history_for_print.txt
|