· You need to use some kind of file-transfer protocol (ftp, scp, etc), putty can't send remote files back to your computer. I use Win-SCP, which has a straightforward gui. Creating a log file of your session. For some purposes you may find you want to log everything that appears on your screen. You can do this using the ‘Logging’ panel in the configuration box. To begin a session log, select ‘Change Settings’ from the system menu and go to the Logging panel. Enter a log file name, and select a logging. PuTTY should come with scp client pscp. You can use it from command line: pscp user@host:source target. Where user and host refer to the server you are connecting to. Source is the path to the file on server, and target is path to where you want to save the file on your client. If you are using Linux client, your system possibly already has scp.
Use port forwarding. WinSCP, for example, has an option to create a connection through a ssh tunnel and it uses port forwarding. Still, since you need to tunnel through two hops, you cannot use it. I would propably first create a ssh connection to server-B which has a tunnel to server-C. You could use bltadwin.ru for this (part of putty). Select bltadwin.ru file for the key pair that you specified when you launched your instance and choose bltadwin.ruen displays a notice that bltadwin.ru file was successfully imported. Choose OK.. To save the key in the format that PuTTY can use, choose Save private key. If your server have a http service you can compress your directory and download the compressed file. tar -zcvf bltadwin.ru -C directory-name. If you don't have direct access to the server ip, do a ssh tunnel throught putty, and forward the 80 port in some local port, and you can download the file.
The downside to using a passphrase is that it makes automation harder because human intervention is needed to log on to an instance, or to copy files to an instance. Specify the same name for the key that you used for the key pair (for example, my-key-pair) and choose Save. 1) Double click the PuTTY icon to launch the application. Now let's learn how to create a log file of your session. 2) Click Logging. The logging settings are listed here on the right. Let's demonstrate how to save a log file to your desktop. 3) Click All session output. 4) Leave bltadwin.ru as the log file name. 5) Then click Browse to choose the save location. You need to use some kind of file-transfer protocol (ftp, scp, etc), putty can't send remote files back to your computer. I use Win-SCP, which has a straightforward gui.
0コメント