LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-02-2011, 06:41 AM   #1
uvishwakarma
LQ Newbie
 
Registered: Jun 2011
Posts: 3

Rep: Reputation: Disabled
Copy files from MAC machine to UNIX Server


Hi,

Can some one help me I want to write a shell script which will copy files from user Mac machine to UNIX Server without prompting userID and Password. I do not want to use ssh or rcp commands as it prompts for password.

Regards,
Umesh
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 06-02-2011, 06:46 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,
Quote:
Originally Posted by uvishwakarma View Post
I do not want to use ssh or rcp commands as it prompts for password.
That isn't true, ssh/scp is perfect for these situations.

Have a look here: Shortest passwordless ssh tutorial, ever

Hope this helps.
 
1 members found this post helpful.
Old 06-02-2011, 06:51 AM   #3
uvishwakarma
LQ Newbie
 
Registered: Jun 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Dear druuna,

Thanks for your prompt reply.

I have to generate keys for using scp command. Is there any other alternate?

Regards,
Umesh
 
Old 06-02-2011, 07:02 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,

Why the "Not helpful" tag? Seems to me that the answer given _is _ helpful and does solve your problem. The fact that you don't want to use it doesn't make it less helpful.

Any reason why you do not want to do the steps given in the link? Are there any other actions you do not want to do?

All other alternatives involve more actions to set up. I'm thinking of: Using CIFS/SAMBA to set up a mountpoint and use that or an ftp (ncftp comes to mind) client that supports a config file (which holds the password among other things).

Last edited by druuna; 06-02-2011 at 07:04 AM. Reason: spelling
 
2 members found this post helpful.
Old 06-02-2011, 07:12 AM   #5
uvishwakarma
LQ Newbie
 
Registered: Jun 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thnaks druuna !!!

Yes it is very helpful indeed. I am rethinking to use ssh in some other way.

Regards,
Umesh
 
Old 06-03-2011, 02:17 AM   #6
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,311

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
I'd guess that a modern version of MAC with *nix kernel would have an NFS client ...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to copy binary files using Unix API's rohanak Programming 5 05-09-2008 05:26 PM
LXer: MacX: the software you need to do a Unix X session with a Mac System 7 machine LXer Syndicated Linux News 0 05-04-2008 01:50 AM
Copy directories/files from Fedora 8 machine to SuSE 10.3 machine r-t Linux - Newbie 6 03-11-2008 08:54 AM
trying to copy files from another machine to the local machine using telnet,..how? shrike_912 Programming 6 03-14-2006 05:45 PM
client can't copy files to local machine through vsftpd server on RH9 tree_buddy Linux - Networking 7 09-15-2003 11:54 AM


All times are GMT -5. The time now is 02:36 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration