Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Copying a file from secure host to desktop Post 302946359 by rothbart on Monday 8th of June 2015 03:57:49 PM
Old 06-08-2015
Typically you would do this in the form:

Code:
scp guest@myIPaddress:/path/to/test Desktop/

I'm not a Mac user, so I'm assuming Desktop/ is a valid path for the destination of the file.

it's always scp source destination but the user@remotemachineIP portion can be either in the source or the destination depending on whether you're copying to or from the machine you're issuing the command from.
Code:
scp user@remotemachineIP:/path/to/source/file /path/to/local/destination

or
Code:
scp /local/path/to/file user@remotemachineIP:/path/to/remote/destination/file

 

9 More Discussions You Might Find Interesting

1. IP Networking

QNX host cannot ping SCO host, vice versa

The problem I am facing now is that the QNX host could not ping the SCO host and vice versa. They are in the same domain, ie, 172.20.3.xx. As I am very new to Unix, I guess I must have missed out some important steps. Pls help... Thanx alot (2 Replies)
Discussion started by: gavon
2 Replies

2. Solaris

Secure FTP Problem using Sun SSH on Client system F-Secure on Server system

I am using shell script to do secure ftp. I have done key file setup to do password less authentication. Following are the FTP Details: FTP Client has Sun SSH. FTP Server has F-Secure. I am using SCP Command to do secure copy files. When I am doing this, I am getting the foll error scp:... (2 Replies)
Discussion started by: ftpguy
2 Replies

3. Shell Programming and Scripting

Question about secure file transfer

Hi all, I am running a large scale business and some time I have to transfer large and very important data files to my business partner. I fear about my data because there are many of my business competitors who will definitely try to steal my important data. So there is huge amount of risk... (0 Replies)
Discussion started by: camden
0 Replies

4. Shell Programming and Scripting

Secure File Transfer Protocol

Hi, Is there any protocol other than SFTP to transfer the file using secured connection SSH. ? Regards, Arthik (2 Replies)
Discussion started by: arthikbabu
2 Replies

5. Solaris

No such file in secure directories ?

Dear All, I have a problem with starting process of crystal report by running script(ccm.sh, bobjerestart.sh). I found these error ld.so.1: nohup: warning: libhoard.so.1: open failed: No such file in secure directories ld.so.1: sh: warning: libhoard.so.1: open failed: No such... (0 Replies)
Discussion started by: unitipon
0 Replies

6. UNIX for Advanced & Expert Users

Secure FTP corrupts file

Sun Microsystems Inc. SunOS 5.9 I am hoping someone has come across this before. I have a script that transfers several gz files via Secure FTP across to an SFTP server on an NT machine. The transfers show as successful: pack12_200812160337.tar.gz | 768kB | 768kB/s | ETA: 00:00:01 | 37%... (5 Replies)
Discussion started by: ronnie_uk
5 Replies

7. UNIX for Advanced & Expert Users

Help! How to find the local host after few ssh hops to remote host???

I do a ssh to remote host(A1) from local host(L1). I then ssh to another remote(A2) from A1. When I do a who -m from A2, I see the "connected from" as "A1". => who -m userid pts/2 2010-03-27 08:47 (A1) I want to identify who is the local host who initiated the connection to... (3 Replies)
Discussion started by: gomes1333
3 Replies

8. Red Hat

secure file permissions!

Hi experts, I have RHEL6 system which I want to tighten by having strict permissions for some important files. Looks like, RHEL has below permissions by default:- /etc/passwd:644:root:root /etc/shadow:000:root:root /etc/services:644:root:root /etc/hosts.allow:644:root:root I am... (10 Replies)
Discussion started by: shreeda
10 Replies

9. Red Hat

Disable copying secure key's to remote system

Hi, We all know as we can connect remote system through ssh without entering username and password by copy the public key to remote host using ssh-copy-id. But my query is to i want to restrict the user as do not implement this feature.Whenever he is trying to login, he has to enter his/her... (1 Reply)
Discussion started by: mastansaheb
1 Replies
asadmin-list-javamail-resources(1AS)				   User Commands			      asadmin-list-javamail-resources(1AS)

NAME
asadmin-list-javamail-resources, list-javamail-resources - gets all the Javamail resources SYNOPSIS
list-javamail-resources --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure|-s] [--passwordfile file- name] [--terse=false] [--echo=false] [--interactive=true] Gets all the Javamail resources. This command can only be run remotely. OPTIONS
--user authorized domain application server administrative username. --password password to administer the domain application server. --host machine name where the domain application server is running. --port port number of the domain application server listening for administration requests. --secure if true, uses SSL/TLS to communicate with the domain application server. --passwordfile file containing the domain application server password. --terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well- formatted data for consumption by a script. --echo setting to true will echo the command line statement on the standard output. --interactive prompts you for the required options that are not already specified. Example 1: Using list-javamail-resources asadmin> list-javamail-resources --user admin1 --password adminadmin1 --host pigeon --port 5001 mail/MyMailSession Command list-javamail-resources executed successfuly EXIT STATUS
0 command executed successfully 1 error in executing the command asadmin-create-javamail-resource(1AS), asadmin-delete-javamail-resource(1) J2EE 1.4 SDK March 2004 asadmin-list-javamail-resources(1AS)
All times are GMT -4. The time now is 07:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy