Altering your account infomation.
Connecting to the server
Using your SSH client on choice, connect to vpn.fossgalaxy.com. If your local username differs from your username, remember to put username@vpn.fossgalaxy.com.
$ ssh username@vpn.fossgalaxy.com
If you have ssh keys set up, you might need to tell the server who you are using kinit:
$ kinit
This should be handled automatically if you’ve logged in using a password.
SSH forwarding
For security reasons, most of our servers cannot be accessed directly over ssh from the internet. To access them you need to use the VPN server as a bastion host.
On your local machine, edit ~/.ssh/config to forward connections via the VPN server:
Host *.lan.fossgalaxy.ovh
ProxyCommand ssh -A username@vpn.fossgalaxy.com -W %h:%p
You’ll need to change username to manage your username.
You will now be able to access the other servers by using their internal names, for example:
ssh webpigeon@apps01.lan.fossgalaxy.ovh
management over the shell
Once connected, you can make use of the usual shell commands. Some useful ones are:
- passwd
- change password used for SSH/network services
- nvim
- Command-line editor