Today we will have a look at a few useful linux ssh commands which allow us to deal with our files on the web server in a bit more time sufficient way comparing to a standard FTP connection. Also it is worth to mention that some of the features that we have access to via shell cannot be executed using FTP anyway - so it's really a win win situation. However not all web hosting companies allow ssh access so you will have to find out whether your hosting comes with it or not. If you have a Dedicated Server the you're most likely to have access to it but with shared hosting that really depends on the company you're renting your space from. So without further ado lets dive straight into it. First you will need a SSH client - there are several options depending on your Operating System circumstances: If you are a Mac user - OSX comes with Terminal - so you're good to go. If you are a PC user you will have to download the ssh client - my suggestion would be a PuTTY which is free. Linux users - similar as Mac - have access to built in Terminal. Now that that we have all the tools we need let's start by opening our ssh client and connecting using the following structure: ssh [email protected] -p port The first part is the ssh where you indicate that you wish to connect using ssh. Next you provide the login username and ip or domain of the host you're trying to connect to concatenated with @ . Last part is simply indicating that you wish to provide the port you're going to connect through by using -p and the port number after this. Here are a couple of variations with the same command and some random values: ssh [email protected] -p 22 ssh [email protected] -p 223 Ok - so now that you typed your connection parameters hit Enter . In some situations you might see a message saying something like 'The authenticity of host...' - if you do simply type Yes and hit Enter again. Next you will be prompted for a password. Now don't get frustrated when you start typing your password and nothing shows up - this is intentional - just make sure you type your password correctly and hit Enter again. Those of you who are using Windows with Putty most probably are already confused and wondering 'Where the heck should I put all this?'. Well wonder no more. Putty comes with the interface which allows you to put all these details into the form fields rather than typing the connection parameters in the command window. So - once you've started Putty type your host or IP address port number and select SSH radio button and click Open button. You might or might not see the Security Alert but don't worry about it - simply click Yes and your connection will be instantiated. You will now be asked for a login: login as: Type your user name and hit Enter . With some servers you will find that the only user that can gain access via ssh is a root user unless you've assigned this privilege to any other user. Now type your password the same way as described above. After all this we are ready to Rock and Roll!
Read on to know more on the Career Pathways for an English graduate in the field of Academia in the USA
Discover the top 10 countries offering the most accessible and flexible work visa programmes for professionals seeking new global career opportunitie
The Australian government's recent announcement of a cap on international student enrolments has ignited a fierce debate within the country's higher
Report Spam
Question: Lorem ipsum dolor sit amet consectetur adipisicing elit. Est iure, rerum ad porro debitis odio sequi aliquam. Quis officia nobis accusamus, ut ipsum, inventore autem repudiandae voluptates cupiditate iure aliquid?
9 Answers
155
Register now to access exclusive content & personalised recommendations.
Don't miss out.
Sign up today!
Register now to access exclusive content & personalised recommendations.
Don't miss out.
Sign up today!
Register now to access exclusive content & personalised recommendations.
Don't miss out.
Sign up today!