$ ssh sshgw.stromberg.org The authenticity of host ‘sshgw.stromberg.org (136.47.201.206)’ can’t be established. RSA key fingerprint is SHA256:VqUUSiSuOQhm+3vrJG9VDb4fWa2dM23Th23T9D88+L4. This key is not known by any other names Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added ‘sshgw.stromberg.org’ (RSA) to the list of known hosts. OpenBSD 7.3 (GENERIC.MP) #0: Thu May 18 19:05:43 MDT 2023
Welcome to OpenBSD: The proactively secure Unix-like operating system.
There are no accounts with saved message.
Last login: Never. Have a lot of fun… sshgw $ ls -la total 12 drwxr-xr-x 2 twadhwab staff 512 Oct 26 18:13 . drwxr-xr-x 3 root wheel 512 Oct 26 18:13 .. -rw-r–r– 1 twadhwab staff 0 Oct 26 18:13 .profile sshgw $ id uid=1000(twadhwab) gid=1000(twadhwab) groups=1000(twadhwab) sshgw $ cat /etc/shadow cat: /etc/shadow: Permission denied sshgw $ cd .. twadhwab@sshgw:~$ cd .. sshgw $ ls . bin etc home mnt root sbin tmp usr dev lib media proc srv sys var sshgw $ cd
sshgw $ ls
sshgw $ sshgw $ env LANG=en_GB.UTF-8 HOME=/home/twadhwab LOGNAME=twadhwab PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin SHELL=/bin/ksh TERM=xterm-256color TZ=UTC SSH_CLIENT=64.103.40.21 41618 22 SSH_TTY=/dev/tty00 SSH_CONNECTION=64.103.40.21 41618 192.168.1.10 22 _=/usr/bin/env sshgw $ LANG=en_GB.UTF-8
sshgw $ HOME=/home/twadhwab twadhwab@sshgw:~$ HOME=/home/twadhwab sshgw $ LOGNAME=twadhwab twadhwab@sshgw:/home/twadhwab $ LOGNAME=twadhwab sshgw $ PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/local/s bin:/sbin twadhwab@sshgw:~$ PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/local/sbin:/sbin sshgw $ SHELL=/bin/ksh $ SHELL=/bin/ksh sshgw $ TZ=UTC twadhwab@sshgw:~$ TZ=UTC sshgw $ REMOTEHOST=64.103.40.21
sshgw $ SSH_CLIENT=64.103.40.21 41618 22 twadhwab@sshgw:~$ SSH_CLIENT=64.103.40.21 41618 22 sshgw $ SSH_TTY=/dev/pts/0
sshgw $ sshgw $ ps -aef UID PID PPID CPU STIME TTY TIME CMD twadhwab 808 1462 0 5:56 pts/0 0:00 -ksh root 809 1 0 5:56 ? 0:00 /usr/sbin/sshd: twadhwab@pts/0 twadhwab 1462 809 0 6:01 pts/0 0:00 ps -aef sshgw $ UID PID PPID CPU PRI NI VSZ RSS TT STAT STARTED TIME CO MMAND UID PID PPID CPU PRI NI VSZ RSS TT STAT STARTED TIME COMMAND sshgw $ twadhwab 371 163 0 49 0 2476 804 p0 S 16:24 0:00 ks h UID PID PPID CPU PRI NI VSZ RSS TT STAT STARTED TIME COMMAND twadhwab 371 163 0 49 0 2476 804 p0 S 16:24 0:00 ksh sshgw $ root 163 1 0 44 0 2452 704 p0 S 16:24 0:00 /usr /libexec/sshd -i UID PID PPID CPU PRI NI VSZ RSS TT STAT STARTED TIME COMMAND twadhwab 371 163 0 49 0 2476 804 p0 S 16:24 0:00 ksh root 163 1 0 44 0 2452 704 p0 S 16:24 0:00 /usr/libexec/sshd -i sshgw $ twadhwab 375 371 0 44 0 2476 756 p0 R 16:24 0:00 ps -aef UID PID PPID CPU PRI NI VSZ RSS TT STAT STARTED TIME COMMAND twadhwab 375 371 0 44 0 2476 756 p0 R 16:24 0:00 ps -aef twadhwab 371 163 0 49 0 2476 804 p0 S 16:24 0:00 ksh root 163 1 0 44 0 2452 704 p0 S 16:24 0:00 /usr/libexec/sshd -i sshgw $ sshgw $ cd /proc sshgw $ cd /proc /bin/ksh: /proc: not a directory sshgw $ /proc: Operation not permitted /proc: Operation not permitted sshgw $ sshgw $ sshgw $ cd /dev sshgw $ cd /dev /dev: Operation not permitted sshgw $ twadhwab@sshgw:~/src$ cd /dev /dev: Permission denied sshgw $ sshgw $ ls -la sshgw $ ls -la total 12 drwxr-xr-x 2 twadhwab staff 512 Oct 26 16:24 . drwxr-xr-x 3 root wheel 512 Oct 26 16:24 .. sshgw $ total 17 total 17 crw-rw-rw- 1 root wheel 0, 0 Jul 27 16:18 console lrwxr-xr-x 1 root wheel 3 Jul 27 16:18 fd -> fd0 dr-xr-xr-x 2 root wheel 512 Jul 27 16:18 fd0 crw-rw-rw- 1 root wheel 0, 64 Jul 27 16:18 log crw–w---- 1 root tty 0, 11 Jul 27 16:18 rmt0 crw–w---- 1 root tty 0, 12 Jul 27 16:18 rmt1 crw–w---- 1 root tty 0, 13 Jul 27 16:18 rmt2 crw–w---- 1 root tty 0, 14 Jul 27 16:18 rmt3 crw–w---- 1 root tty 0, 15 Jul 27 16:18 rmt4 crw–w---- 1 root tty 0, 16 Jul 27 16:18 rmt5 crw–w---- 1 root tty 0, 17 Jul 27 16:18 rmt6 crw–w---- 1 root tty 0, 18 Jul 27 16:18 rmt7 crw-rw-rw- 1 root wheel 0, 65 Jul 27 16:18 stderr crw-rw-rw- 1 root wheel 0, 66 Jul 27 16:18 stdin crw-rw-rw- 1 root wheel 0, 67 Jul 27 16:18 stdout crw-rw-rw- 1 root wheel 0, 100 Jul 27 16:18 tty crw–w---- 1 root tty 0, 10 Jul 27 16:24 tty00 crw–w---- 1 root tty 0, 1 Jul 27 16:18 tty01 crw–w---- 1 root tty 0, 2 Jul 27 16:18 tty02 crw–w---- 1 root tty 0, 3 Jul 27 16:18 tty03 crw–w---- 1 root tty 0, 4 Jul 27 16:18 tty04 crw–w---- 1 root tty 0, 5 Jul 27 16:18 tty05 crw–w---- 1 root tty 0, 6 Jul 27 16:18 tty06 crw–w---- 1 root tty 0, 7 Jul 27 16:18 tty07 crw–w---- 1 root tty 0, 8 Jul 27 16:18 tty08 crw–w---- 1 root tty 0, 9 Jul 27 16:18 tty09 crw–w---- 1 root tty 37, 0 Jul 27 16:24 ttypb crw–w---- 1 root tty 37, 1 Jul 27 16:24 ttypc crw–w---- 1 root tty 37, 2 Jul 27 16:24 ttypd crw------- 1 twadhwab tty 28, 0 Jul 27 16:24 ttyq0 crw-rw-rw- 1 root wheel 0, 101 Jul 27 16:18 urandom crw-rw-rw- 1 root wheel 0, 74 Jul 27 16:18 zero sshgw $ drwxr-xr-x 2 twadhwab staff 512 Dec 18 15:42 . drwxr-xr-x 2 twadhwab staff 512 Dec 18 15:42 . sshgw $ drwxr-xr-x 3 root wheel 512 Dec 18 15:42 .. Connection to sshgw.stromberg.org closed by remote host. Connection to sshgw.stromberg.org closed. $ ssh sshgw.stromberg.org ssh: connect to host sshgw.stromberg.org port 22: Connection refused $ ssh sshgw.stromberg.org ssh: connect to host sshgw.stromberg.org port 22: Connection refused $