OpenBSDLab - ssh_config

ssh commands

Use to following command to access the serial console or execute machine commands.

ssh -p 10031 otx@obsd-lab.genua.de [command]

Use the following command to direct ssh access to the machine. The Password is toor.

ssh -J otx@obsd-lab.genua.de:10031 root@otx

~/.ssh_config

You also can adapt the following ssh client configuration.

# jump host
Host testmaster
	IdentityFile .ssh/id_rsa
	HostName obsd-lab.genua.de
	Port 10031

# serial access
Host ot?-console ot??-console
	IdentityFile .ssh/id_rsa
	HostName obsd-lab.genua.de
	Port 10031

# ssh access
Host ot? ot??
	User root
	ProxyJump %h@testmaster
	HostName %h

Host ot1-console
	User ot1

Host ot2-console
	User ot2

...

Host ot51-console
	User ot51