Setting up a connection in Putty and WinSCP. Installing and customizing WinSCP and PuTTY Winscp description

Golovna / Additional functionality

At once, practically all software becomes as much as possible “stuffed” and “added” to what you can find, and hold contests on the topic “know 5 features between Chrome and Firefox”. Everything is up to the fact that it is at once simple, superior and hierarchical, the software is as relevant as ever.

For work with ftp, there is a lot of work to do with total command of Total Commander, building a file manager and ftp client. It’s easy to work with files before Total Commander, but when you work with ftp and ssh, it’s easy. For example, the time file is uploaded to the server only once, if it is closed in the editor; so, when editing, for example, a css-file and making changes on the site, it is necessary to close it and just marvel at the changes, and in order to continue making changes, you need to re-open the file. Not too hard.

Total Commander also closes the ftp session after an hour of inactivity. We don’t know for sure, but it seems that Total Commander does not manage the packages of support for the order, so it’s time for the robot to be constantly reconnected through the opening of the order. That th, ftp is far from the best protocol for transferring data, so if the server allows it, it's better to use ssh; it is recommended to use it under the ssh-2 protocol due to advanced security.

However, Total Commander still has a big plus: all settings are stored in a closed ini-file, which can be transferred from one computer to another and in this way activate your settings. But now we would like to talk about the WinSCP program, as we may have a number of advantages in front of Total Commander when working with ftp and ssh (for example, we can see the possibility of robotic programs using sudo).

What is WinSCP

WinSCP is a graphical SFTP shell client for various operating systems, including Windows, which can display code. WinSCP also supports the old SCP data transfer protocol, which makes sense to name programs.

The most recognized program is the transfer in a protected mode of files between computers and servers, like "to be friends" with these protocols.

The program is constantly updated, and you can always check the latest version of the English version at the URL: https://winscp.net/eng/download.php. To the point, to be greedy with a utility - one is satisfied.

To install the Russian version, you need to select the “Multilanguage Installation package” item and select “Russian” from the presented mov package on the start of the package installation. If at the moment of investigating the rest of the version, the translation will not be brought to the point, then it may happen to zavantazhuvati dodatkovo. To do this (after the english version has been installed), go to the “Translation” side, select the “Russian” translation, after which unpack the archives from the directory with the WinSCP utility.

Possibilities of the WinSCP program:

  • graphic interface;
  • the program has been translated into non-language languages, including Russian;
  • integration from Windows;
  • monitoring of all key file operations;
  • support for SFTP protocols and SCP crim SSH-1 and SSH-2;
  • automation of processes for the help of using a command-line interface and scripts;
  • є text editor;
  • authorization by password, GSS, Open key support;
  • implemented two shells - like Norton Commander and Windows Explorer;
  • nalashtuvannya z'ednan can be saved;
  • you can tweak the config file to the registry.

Let's get a little bit on the interface. When you open the program, you will see a dual interface, which you could run in Total Commander and similar programs before. When you open it, you will also have to choose a server for the connection, even if in offline mode, the program will work. You can also select the Explorer interface, and it will also be split in two: the left side will show the directory tree, and the right hand side will show the list of files and folders in the same directory.

By pressing Ctrl+N, it will appear in a window with the choice of a connection server. After choosing the connection, a new session will appear at the drop-down menu of the program animal. Now you can switch between sessions, just select the list you need. To take advantage of the ability to edit text files, you need to specify a third-party editor, such as Dreamweaver or HTMLpad.

At the same time, Total Commander, the WinSCP program, sends a session to the work station, even if it takes 50 seconds, the program sends a packet to the server to make sure the session is closed. It will be more difficult for those who are working on an impersonal day (now it’s not possible to connect on a sprat once).

If you open a file with WinSCP, then a copy will be created for the time file, and when you change that time file, all changes will be uploaded to the server. So if you change the standard writing Lorem ipsum to We kindly ask you to save the changes made, then immediately after the update, the side of the change will be visible on the site. Also, the robot is well implemented with dekіlkom vіdkritimi files, navit with the robot from different ftp-accounts: їх versions also vіdrazu well zavantazhuvatimuyutsya on the server.

As they guessed more, the program can see the code, that's why it's free. You can download it in the installer and in the portable version.

Robot with Sudo

To take away additional privileges from WinSCP, you can run the program by entering the sudo command when entering the path to the SFTP server in the SFTP server field. Depending on the operating system, the path can be modified, but in Ubuntu, for example, it would be like this: sudo /usr/lib/openssh/sftp-server
To quickly disable the sudo command without entering a password, you need to make changes to the /etc/sudoers file and add to the end of the line: username ALL=NOPASSWD: /usr/lib/openssh/sftp-server
Now you know how to practice with the program under the hour of sudo testing.

Perhaps, this article will not cover all the subtle adjustments of inclusion, inclusion, options, etc. Tsya article vikoristovuvatimeetsya as supplementary for other materials. If in another place I happen to ask for it, so that I can switch, so you can connect to a remote server.

And so, to connect to the server, we will vikoristovuvat one of the two programs. Putty or WinSCP. Offensive programs are free of charge and can be downloaded from official sites without any problems. So keep it up.

A couple of words about the skin.

Please note that the transfer protocol is SSH, while WinSCP is FTP. Also, WinSCP has a graphical interface and a lookout. What can not be said about Putty. Ale another shvidshe pratsyuє.

If WinSCP needs you to start typing commands, then you need to open the console (this is the Putty module =)).
At that hour, yak Putty is already the console itself)

Also, having respected that when working with the console, WinSCP does not have to work on root and sudo. Might as well and rejoice, but I xs yak. You know how to write before commenting.

Zagalom and there, and there є its pluses. Well, I'm not worried about vicorist programs.

Establishing a connection to the server at WinSCP

No problem. Just open the program and get connected with the list of savings. Yakshcho stink є, zvichayno well. Otherwise, you will see the item "New connection"

We will fill in all the required fields:

Transfer protocol: SFTP = SSH or FTP

Host name: Domain or IP address of our server

Im'ya koristuvacha: Im'ya koristuvacha

Password: Password

Port: If you didn’t change it, then it’s too much.

If it is necessary to save the connection, then click on save, let save. At the vіkni we type the name of the meeting and choose the password, as it is necessary.

Above all, the program will tell you about connecting to a server that is still unknown to it. If you trust this server, then simply click on So.


If you don’t forget to connect, and if everything is OK, then you will be connected and support the hierarchy on the server.

Files can be reviewed and edited. )

Respect! For promotion, WinSCP has attached files and folders. .

Before the speech, for the minds you drag to the folder of the koristuvach, under which you have gone. Tse upgrade to SSH. Via FTP, you will go to the folder until you have access.


It's the same with WinSCP, as I've already shown, you can greet the console. For which you need to know the black icon at the top of the program window.


To work with the console, you need to connect to another type, so the program will ask you to reconnect. Tisnemo OK.


Chudovo. Now we are at the console.


Setting up a connection to the server in PuTTY

So there is nothing foldable. Run the program and start filling in the necessary fields:

Host name: Domain or Server IP

Port: If they didn’t change, then we’ll fill it up

Login Type: SSH

In the block "Keruvannya seances" at the top row, you can enter a name to save connection. Also, this row will serve for a search in the list of savings.

Tisnemo on Z'ednatisya.


Let's connect. Return the respect that we entered the Login and the Password at the time of the login. All to the fact that the server itself feeds data already in the console. Enter the Login first, then the Password. If you did not work with Linux, then respect that when you enter a password, you will not be shown!


Truly everything. Dare!

WinCSP is a cost-free graphical client with open code for Windows. The main function of the client is the secure transfer of data from the local computer to remote locations.

Graphical interface of the koristuvach

Working with the server through the console, insanely, may be low, but for working with files it’s more convenient to use a graphic manager.

After the launch, we need to provide data for the order, and for ourselves:

  1. Protocol,
  2. Host name,
  3. Port,
  4. Im'ya koristuvacha, password.

Call me, I'm saving the day, and I'm also saving the password. After what you can connect and practice.

Multilingual

WinCSP translated impersonal mov. When installed, as carried out in two clicks, it will show up ahead of time that the program has been translated by my Russian language by 98%. Do not boast, for a robot it is enough. Put it like this, the client is in English - it's okay, the basic commands can be easily translated to say that you don't know English language.

Work through a proxy server

To work through a proxy server, you need the following settings

For the hour of the creation of the connection, click on the button More -> Connection->Proxy. Then you need to select the type of proxy, specify the host and port, and, if necessary, login and password.

WinCSP don't download attached files

As if stuck with such a problem. It is necessary to edit the .htaccess file, but vin yak howrah in the DMB movie, it is not visible, but vin є. How to show attached files in winscp? The problem virishuєtsya dosit simply. Connects to remote server. Options -> Preferences -> Panels, set flag to show attached files.

Good afternoon!. Last time I told you how you can copy a file from Linux from Windows, de mi sorted out various utilities, including WinSCP. Today I will tell you, like WinSCP Integrate the Putty utility so she acted as an ssh client, that is such a possibility. Upevneniy, whoever it is, it will please you. Let's get started.

WinSCP setup

So, guess what, WinSCP is not a costless sftp client, but also a file manager that allows Windows platforms to be corrupted from a handy and smut-protected one that looks like a connection to CentOS, Debian, Ubuntu servers. The utility has already known its glory and the love of the great koristuvachiv, and it’s not surprising that it subtly allows itself to be worked on.

Earlier, I already discovered, de-installed the WinSC P utility, and then installed it. If you missed these articles, you can always read them. Now, let's talk about how to create the Putty utility as a client for connecting via ssh to the WinSCP interface. First, what do you do, do you want to install Putty. Guessing її official site.

https://putty.org.ru/download.html

We leave everything for the locks.

After a few seconds, your Putty will be installed in the system.

We select the item "Nalashtuvannya"

When done, go to the "Integration - Programs" tab. Change, what you have in the "Go to PUTTY / Terminal" line of paths to your exe file, which opens Putty. If you have a portable version, then you can use the "Look" button to change to a new path. Also check the checkbox "Remember the session password and transfer it to Putty (ssh)" so that you do not type the password permanently. Let's take care of it.

It's still a small pleasure, you don't need to be greedy with the WinSCP text editor, and you can easily remember it. For some, go to the "Editors" tab and through the "Add" button you can specify an alternative, in my opinion Notepad ++. Through the "Uphill" button, push yoga to the first position.

For this post, we will install and install a permanent program for robots with a server FTP/SFTP client for Windows WInSCP and PuTTY.
WinSCP- the best, most functional and indispensable program for working with a server and sites via FTP / SFTP for Windows.
PuTTY- for remote administration of Linux servers, for connecting to virtual VPS/VDS servers using the SSH protocol.

WinSCP together with PuTTY will be the most powerful tool for your work with servers and websites, as well as a miracle program replacement FileZilla, Total Commander that in.

WinSCP is the most suitable for me (which is not available in other similar programs) - auto-upload to the server for changing files from the editor, for example, in PHPStorm, Kotriy Save file Navigate when putting focus automatically and do not have to save the file with a combination of keys ctrl+s.

Switching to the browser, PHPStorm automatically saves the file, WinSCP automatically uploads the changed file to the server, just upgrade the side in the browser and recheck the code for the robot, that's all, beauty! Zruchno, shvidko that productively!

Installed WinSCP

Download WinSCP from the official site, file portable executables, stable portable version of the program, RC, because for the RC version, the most inaccessible translation into Russian, but also, that part of the updated RC version of the program will give you exactly.
Portable version of the program Portable executables - tobto. without installation, after downloading, unpacking and koristuyu neskіchenno navit after reinstalling Windows.

The program saves access to your sites in the middle of its folders in the file WinSCP.ini When a new portable version is downloaded, the program will simply transfer the file to the folder with the new version, overwrite, and all access, and update will be processed in the new version.

І in the portable version of the program, there is no need to lock the Russian movie, it is necessary to zawantage it on the side WinSCP Translations
There will be a file in the archive WinSCP.ru, need to be unpacked into the folder with the program.

Installing PuTTY

From the official site also a portable version Zip file, an English program, but if we don’t get it, we need only a console.
Unpack the program from WinSCP, WinSCP will only need to link to PuTTY to run it from within WinSCP, the price is lower.

By the way, I will download all portable programs to the Poprtable Soft folder on the D drive.

Everything, the installation of the program on whom is completed!

WinSCP setup

Also, we will mainly use WinSCP, and connect to the server in the PuTTY console using the WinSCP button, too. you can forget about the PuTTY folder.

We start the program Tools -> Preferences

We choose Russian language Environment -> Languages ​​-> Ukrainian that pushes OK.
The program will restart in Russian mine.

Select your code editor, in which WinSCP will open all server files, wine may be the first in the list.

І you can specify the path to the file to launch the console PUTTY.EXE.
Return respect to the enabled options, without them you will have to enter the password when connecting to the server, otherwise it is not required, it is automatically transmitted.

Everything, everything is ready for me to set up WinSCP!

Yak pratsyuvati at WinSCP

Dodaemo yaks connection to the server at WinSCP that onslaught Leave.

Axis like this dual file manager WinSCP, thank you very much and respect to yogo retailer!

If you double-click on the file, it will appear in your editor's code, which you specified in the program's settings as the first in the list.
If you change and save the file, WinSCP will automatically upload it to the server and overwrite it without any confirmation.

When RMB is pressed on the file, a context menu will appear, in which case you have rights, scribble, copy, transfer, etc. for which file.

Yak pratsyuvati in PuTTY

With the launch of the PuTTY console for connecting to the VPS / VDS server, everything is simple, WinSCP is a special button for the new one.

After pressing the button, the console can open and automatically connect to the server, please connect and connect.

That's all, I thank you for receiving that productive work!

Visnovok

I spodіvayus, tsya stattya to help you rozіbratisya that zrazumіti, for which all tse vikoristovuєtsya shy, where you can zasosuvati.
WinSCP and PuTTY- the best tools for today to work with sites and servers via FTP / SFTP protocols, try it!

In the upcoming articles, I will share my manual for setting up and tuning VPS / VDS servers, which would be just the beginning of the most common;)

© 2022 androidas.ru - All about Android