RBVM Ssh: Difference between revisions
Jump to navigation
Jump to search
(New page: First of all, you will need to install an ssh server on your VM before you can ssh to it. You will probably need to do this with a VNC Viewer. When your in your VM, you can in...) |
|||
Line 13: | Line 13: | ||
You will need to setup a tunnel to get to your VM, if you're accessing from outside Redbrick. To do this, type: | You will need to setup a tunnel to get to your VM, if you're accessing from outside Redbrick. To do this, type: | ||
ssh -L | ssh -L 1337:YOUR_VM_IP_ADDRESS:22 username@login.redbrick.dcu.ie | ||
This binds port 5900 on your own computer to daniel (the server with the VMs). So to connect to your VM: | This binds port 5900 on your own computer to daniel (the server with the VMs). So to connect to your VM: | ||
ssh 127.0.0.1 -p | ssh 127.0.0.1 -p 1337 |
Revision as of 22:04, 15 June 2011
First of all, you will need to install an ssh server on your VM before you can ssh to it. You will probably need to do this with a VNC Viewer. When your in your VM, you can install OpenSSH with:
apt-get install openssh-server
Access from other Redbrick servers
Note your VM's IP address from the VM Management page. To login simply ssh to that IP address, with your VM user/pass (not your Redbrick login details).
ssh username@IP_ADDRESS
Access from an external machine
You will need to setup a tunnel to get to your VM, if you're accessing from outside Redbrick. To do this, type:
ssh -L 1337:YOUR_VM_IP_ADDRESS:22 username@login.redbrick.dcu.ie
This binds port 5900 on your own computer to daniel (the server with the VMs). So to connect to your VM:
ssh 127.0.0.1 -p 1337