In general, the safest (well, or one of ..) tool for remote access to ip and web. What is it for? Suppose you need to somehow get to the data on a server, even if access is blocked from your ip. Programs for working with SSH I used Putty, a popular SSH client designed for remote access to a computer. We set and open. In the Session tab, in the Host Name (or IP address) field, enter the domain name (site.ru) Next, the Connection-Data tab.
There in the field Auto-login username we register the login: In the SSH tab, select 2 only. In the Session tab, in the Saved Sessions field, enter an arbitrary session name, Save. Now simply select the session name and click Open putty download.
The first time you try to connect, a warning pops up, click Yes. The login is already entered, and in the appeared window only the password will be asked. Enter the password from FTP, and at this point on the screen will be empty. ATTENTION! some hosters first need to request permission to access SSH, and before that the password will not be entered.
Next, the Unix command flow will open. What can I register here – you can see here – the main ssh commands al – formatted list with hidden directories and cd files dir – change directory to dir cd – change to home directory pwd – show current directory mkdir dir – create directory dir rm file – delete file rm -r dir – delete directory dir rm -f file – delete forced file rm -rf dir – delete forced directory dir * cp file1 file2 – copy file1 to file2 cp -r dir1 dir2 – copy dir1 to dir2; will create the directory dir2 if it does not exist mv file1 file2 – rename or move file1 to file2. if file2 is an existing directory – move file1 to file2 directory ln -s file link create a symbolic link to file touch file create new file cat> file direct standard input to file more file output contents of the file head file display the first 10 lines file tail file – display the last 10 lines file tail -f file – display the contents of the file as it grows, starts with the last 10 lines view file – display the file on the PS screen In one of the next posts I’ll tell you what I was confronted with in SSH)