RADIO IMPLICANCIES #12.0
https://hotline.xpub.nl/implicancies
https://pzwiki.wdka.nl/mediadesign/Category:Implicancies
--->>>>>>>>>>> https://pad.xpub.nl/p/12.0
SSH HELPDESK
GOAL: ssh to the sandbox pi
the trick is that it is VIA the xpub.nl server.
I have a .ssh/config file that is like bookmarks for ssh....
Inside I have:
nano ~/.ssh/config
Host sandbox
User mmurtaugh
Hostname 10.0.0.11
ProxyJump mmurtaugh@xpub.nl:2501
Identityfile /home/murtaugh/.ssh/id_rsa
Serveraliveinterval 30
YOURS:
Host sandbox
User mmurtaugh
Hostname 10.0.0.11
ProxyJump mmurtaugh@xpub.nl:2501
Identityfile /home/murtaugh/.ssh/id_rsa
Serveraliveinterval 30
Host sandbox
User markvandenheuvel
Hostname 10.0.0.11
ProxyJump markvandenheuvel@xpub.nl:2501
Identityfile /users/markvandenheuvel/.ssh/id_rsa
Serveraliveinterval 30
Host sandbox
User implicant_04
Hostname 10.0.0.11
ProxyJump implicant_04@xpub.nl:2501
Identityfile /users/lena/.ssh/id_rsa
Serveraliveinterval 30
Host hub.sandbox
User ioanatomici
Hostname 10.0.0.11
ProxyJump ioanatomici@xpub.nl:2501
Identityfile /home/ioanatomici/.ssh/id_rsa
Serveraliveinterval 30
Host itch
User xpub
Hostname XITCHXARCHIVEX2
Port 22
Identityfile /home/ioanatomici/.ssh/id_rsa
Serveraliveinterval 30
ioanatomici@DESKTOP-CJNAHDQ:~/.ssh$ ssh hub.sandbox
Enter passphrase for key '/home/ioanatomici/.ssh/id_rsa':
ioanatomici@10.0.0.11: Permission denied (publickey).
rm .ssh/id_rsa
rm .ssh/id_rsa.pub
ssh-keygen
(hit enter for all defaults)
cat ~/.ssh/id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFrMM+4s4h60uaznTNsg1FELcLvt2YS6P0O1FM7xJfagX262GG3pgMhgo5Z8j7RMRwSCUZZKcK5pyGl0qCpgBZWcji9E2Ro4ry40ufm1F/JPxgRgKhkjg0K7aBtcPu3GQwQrRsR6APfVgKX5wWST2394UBr8nkgh+rrluV10JoO9vKqC9WCo7fRrzhkcjuG9kQ4PLuVsStaJVJhoOC0tnYWOY0H7bVM2yd8lsKpW9jq+ebboCllTqeLRN/ERQqZGXgZvv3Xx0osH8xe5Y7vnfM5w/VOZfmCPeUSF9P9Hsqhu93jJ/5e2E9BaB+3yY+wBxpshrAzDsKBaZc9gxgQkmF ioanatomici@DESKTOP-CJNAHDQ
ioanatomici@DESKTOP-CJNAHDQ:~/.ssh$ ssh hub.sandbox
ioanatomici@10.0.0.11: Permission denied (publickey).
Identityfile /Users/--------/.ssh/id_rsa
So in fact you are ssh'ing THROUGH the xpub.nl, and this needs to work for you first:
ssh mmurtaugh@xpub.nl -p 2501
ssh claranoseda@xpub.nl -p 2501
ssh markvandenheuvel@xpub.nl -p 2501
ssh markvandenheuvel@xpub.nl -p 2501 -i ~/.ssh/id_rsa.pub
ssh ioanatomici@xpub.nl -p 2501
In order to connect, this server is configured to require a matching sshkey (not passwords).
CHECK YOUR LOCAL (laptop) ssh key
cat ~/.ssh/id_rsa.pub
cd
ls -al
drwx------ 2 murtaugh murtaugh 4096 Apr 21 11:43 .ssh
drwx------ 2 lena lena 4096 Apr 15 08:17 .ssh
drwxrwxrwx 1 ioanatomici ioanatomici 512 Apr 11 14:43 .ssh
drwx------ 6 markvandenheuvel staff 192 Apr 22 17:05 .ssh
cd .ssh
ls -al
-rw------- 1 murtaugh murtaugh 1675 Nov 30 14:13 id_rsa
-rw-r--r-- 1 murtaugh murtaugh 396 Nov 30 14:13 id_rsa.pub
Marks:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8VICOgAyhZAh3BNPMjP748UkRoqLFzR1POpfcg3kEA0s4uXUF7Uv+ucvLnMkyntffcuryQuqixVkJq80hbB1fySRadwzsR8UE7BcMZYQlyAhzQaxUBWNcJpNH5MjMV/8DaDT+COFVb7VGVfXdX7GDMZFUz/CJrP+rWiv8TkpBLMhAmDx7d5bmMv38Eb8TvUu2DamoyOSSUxvXIEf+lgI5PCeGylW26iVcNWPG2ldQTwv2bYUL/N+4e3GB5G+rmsFybo8NqpLdANu0ygA7nnbGkkA2rajqV0GoP4S5yGq4pbTnEsJQP42rJtQXjOg+GHblOvpekfjX9yw1oFA1LUE5 markvandenheuvel@145.137.EARLY-REGISTRATION.of.SURFnet.invalid
message:
PTY allocation request failed on channel 0
Bye!
Connection to xpub.nl closed.
ssh markvandenheuvel@xpub.nl -p 2501
markvandenheuvel@xpub.nl: Permission denied (publickey).
17h21:
ssh: connect to host xpub.nl port 2501: Operation timed out
drwx------ 6 markvandenheuvel staff 192 Apr 22 17:05 .
drwxr-xr-x+ 46 markvandenheuvel staff 1472 Apr 22 17:12 ..
-rw-r--r-- 1 markvandenheuvel staff 137 Jan 13 17:41 config
-rw------- 1 markvandenheuvel staff 1675 Sep 30 2019 id_rsa
-rw-r--r-- 1 markvandenheuvel staff 444 Sep 30 2019 id_rsa.pub
-rw-r--r-- 1 markvandenheuvel staff 376 Apr 22 17:09 known_hosts
chmod
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/Users/markvandenheuvel/.ssh/id_rsa.pub' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "/Users/markvandenheuvel/.ssh/id_rsa.pub": bad permissions
markvandenheuvel@xpub.nl: Permission denied (publickey).
MacBook-Pro-van-Mark:~ markvandenheuvel$
ssh markvandenheuvel@xpub.nl -p 2501
>>>
Linux xpub.nl 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
_____________________________________________________________________
WARNING! Your environment specifies an invalid locale.
The unknown environment variables are:
LC_CTYPE=UTF-8 LC_ALL=
This can affect your user experience significantly, including the
ability to manage packages. You may install the locales by running:
sudo dpkg-reconfigure locales
and select the missing language. Alternatively, you can install the
locales-all package:
sudo apt-get install locales-all
To disable this message for all users, run:
sudo touch /var/lib/cloud/instance/locale-check.skip
_____________________________________________________________________
ioana:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDXYxqMDcqWYgiGd8ygsx2C8ouGSTUl4tRIdrLGO2B/X5a9QRl5/qxv4+wDlFRPdhL4xAZ6plOLFrclgtz30Kc0IaDX+8GFYrsjqqcb87fJ+9AUq/D99ncZdhebcuV4mqYZA+WYXazlJmyANSpXwjL1kEIAtKXz9j2V5pY7h2h9dneYHJ02scp2a7VS/qQobUu8hK8nT2amljLUhkHTRi1QEqABUoizrzbwf6xWMPBtfaaRh/XMjoAohk+vMS2dNE3e1wVLOrtMkffX+eHlLQm2YrwJlQ2TrWgpUlcFtD/qaeVIVSJjyR3d7nDR6c8H6u2/x0CNwTtr37y6M3xI8Yh5 ioana@DESKTOP-CJNAHDQ
Femke:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC96VRXMFHn1chc9ZXn+Zn/e1kCPQjT9VwzdaCp6n1YyAX6A4Vtoyyjl3yJdh2jTzT+J40vVxnrkoAbSX5lN31KWypQaDx3EKBFnh/MYhUMjNrD1dGw5XX8oKEKuoosf7af0gFouJQ1Ty4ErYuIe1RVa3pkWeFsgdcM0pH5hWeAANIArAET/L9CKgP9GK/hnRaOCz4KaT9dt6fN0z/C8+fcGPOYm9N3awtWC6QmyvnV7VAPUGH2iyDe/aEcX0PwQdWX5kwD002zpnvbxkpwe+Jo7QAcB03BmPFziSdQ3Uu1NdTwMj9DaCg5n9iQRRzBBejKCdJmHhNkJd2ZQysnQ8Ef lena@ustensile
Clara :
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQ+4hvPUg1MM5Z3E8Du8ZRBYL190+2A5pED/dM4f2ysEudra/IHZ9K6seesspHJp85UbBIhQpV+7+J7eed5DXHkpabapI7w8VUR3+QSUeyf+Mrx6i7f6PvoH2TQ3/ErjycvpMMzhZhzWTdt+l5D3LwHlsJEIU/c8FuK7Ibx44stRaYkjqryX7RFJBPkdwlNovWJCet7kz6Gnqx5MFl64noFzumeo9pOTq+qz4Nf/O5LLzMPivifeT+3tZtIJCd0lS+8r6OMwx10oV6x5lEyquot5QnDFzFhoWXq9hQz8W17Jah7gI3VLU2pCsB4ZZrQe6Z0uQTgy3gcN+htjwAn2F3 claranoseda@145-137-85-162.wlan.hro.nl
Linux xpub.nl 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Apr 3 15:20:33 2020 from 77.109.103.108
$
- The authenticity of host '[xpub.nl]:2501 ([83.96.162.96]:2501)' can't be established.
- ECDSA key fingerprint is SHA256:ruQk2r6KZDD75ZF8qERsx6qftbb/6hx4RLliQC+9BOQ.
- Are you sure you want to continue connecting (yes/no)? yes
- Warning: Permanently added '[xpub.nl]:2501,[83.96.162.96]:2501' (ECDSA) to the list of known hosts.
- PTY allocation request failed on channel 0
- Bye!
- Connection to xpub.nl closed