| Using SSH |
|
|
|
Connecting Using SSHWhat is SSH?ssh, the "secure shell", is a set of programs which provide the facility to log into a remote machine, execute commands on a remote machine, or copy files from one machine to another, in a manner that provides strong authentication and which encrypts any data passing between machines. Why SSH?Many of the traditional protocols such as TELNET and FTP are inherently insecure as passwords are transmitted unencrypted over the network. This poses considerable security risks to both our servers and your data. By using a secure protocol the risk of unauthorised access is much reduced. Which Version?2020Media mostly uses SSH1 protocol for connecting. Connecting Using SSHRather than using the traditional username / password combination to validate users, there is an alternative system using 'keys' that provides better security. A 'key' consists of two parts, a public part and a private part. The public part of they key is given to 2020Media and installed on our servers. The private part is kept on your computer and should not be given to anyone else. When you attempt to connect to our servers, our server checks that the computer connecting has the 'private' part of the key, and only then will allow the connection. For further security there is an additional 'passphrase' that is requested each time the private key is used. Before connecting for the first time you will need to generate your own public / private key pair and send the public key to us. Details of how to do this using various programs are below. SSH on WindowsThere are a number of implementations of SSH for windows. You can download a trial version of SecureCRT here First you need to generate your public / private key pair. Open the program and you will be presented with the following screen as shown in below. Select the new session button as highlighted. IF YOU HAVE ANY PROBLEMS WITH THESE INSTRUCTIONS, FOR INSTANCE IF THE SOFTWARE VERSION OF SECURECRT HAS CHANGED, PLEASE CONTACT THE SOFTWARE PROVIDER, NOT 2020MEDIA. WE PROVIDE THESE INSTRUCTIONS IN GOOD FAITH. HOWEVER WE ARE NOT RESPONSIBLE FOR CLIENT APPLICATION SET UP. OpenSSH on WindowsThere is a good version of OpenSSH available for Windows. You can download it from http://sshwindows.sourceforge.net. You can then follow the instructions below for SSH on Unix. SSH on UNIXThere are various implementations available. You can download them from here. To generate the public / private key pair you need to execute a command like ssh-keygen -1 -t rsa1 username -P passphrase where username is found on your account letter, and passphase is some sentence choosen at random by you. This will generate two files, one called Email the username.pub file, together with your username to Support so that we can install it on the server. The key you send should look something like 1024 37 123544354354354352432543543254354325434354353454354543534325354 ....32434324 rsa-key-435435435
If the directory '.ssh' does not exist in your home directory create it. Copy the username file to '.ssh/identity' cp username .ssh/identity After you have received an email back from us confirming your public key, you are ready to connect. ssh -l username hostname where username and hostname are found in your account details letter. SSH on MacintoshUseful commandsHere are a few useful commands you can use, if you have appropriate permissions: sh ./startup.sh Start Tomcat If you'd like us to add any more commands, please contact us. |
| < Prev | Next > |
|---|
| Hosting |
| Domains |
| Servers |
| Connectivity |
|
||





