diff options
Diffstat (limited to 'quickstart')
| -rw-r--r-- | quickstart | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/quickstart b/quickstart new file mode 100644 index 0000000..c158160 --- /dev/null +++ b/quickstart | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | # output privkey pointer from yubikey | ||
| 2 | ssh-keygen -K | ||
| 3 | |||
| 4 | ssh-agent bash -c 'ssh-add ~/work/git/keys/public/macm1-resident && ssh -A -p24 x@sg1.0nom.ch' | ||
| 5 | |||
| 6 | ssh -i ~/work/git/keys/public/macm1-resident root@sg1.0nom.ch | ||
| 7 | |||
| 8 | while true; do nc -l -p 5023 | openssl enc -d -aes-256-cbc -pbkdf2 -pass pass:YourPassword | pbcopy; done | ||
| 9 | |||
| 10 | file=t4.cpp && gcc -x c++ -lstdc++ -std=c++17 ${file} -o ${file%.cpp} && ./${file%.cpp} | ||
| 11 | |||
| 12 | |||
| 13 | # ssh forward agent to pubserver1 then to privserver1 | ||
| 14 | ssh-agent bash -c 'ssh-add ~/work/git/keys/public/macm1-resident && ssh -A -p24 x@sg1.0nom.ch -t "ssh -A fedora@192.168.124.45"' | ||
