How can I copy my Tomcat Catalina.out files from Amazon EC2 to my local machine?

0

I want to copy my Catalina.out from my Amazon EC2 instance to my local machine. How can I do it?

Gaurav Agarwal

Posted 2012-07-03T20:33:42.667

Reputation: 851

Answers

1

You can transfer it using an SCP client. There are SCP clients for most OSes, just Google around.

David Levesque

Posted 2012-07-03T20:33:42.667

Reputation: 521

I have found WinSCP438 for Windows 7. Cannot I do it with the SSH session in progess. I don't want to enter my login and pwd in an unknown software. – Gaurav Agarwal – 2012-07-03T21:29:14.453

I'm not sure about WinSCP since I don't use it (I'm on Linux), but some SCP clients also have an SSH terminal mode, allowing you to do both SCP and SSH from the same session. – David Levesque – 2012-07-03T21:44:29.260

1WinSCP is not "an unknown software." Sure you can, in your current ssh... Just copy it to your own ftp/smb/afp/etc. server. :) – None – 2012-07-03T22:13:52.777

@Radoo Thanks. I have asked a related question here http://superuser.com/questions/444619/unable-to-access-tomcat7-folder-in-amazon-ec2-via-winscp-in-windows-7

– Gaurav Agarwal – 2012-07-03T22:21:55.693