UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 10th, 2003, 02:12 AM
hedaPrakash hedaPrakash is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 9 hedaPrakash User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Connection issues to unix and windows

New to unix, searched a lot on net to find out how to connect from unix to unix, unix to windows, windows to unix and windows to windows through command line I mean scripts.

Requirement is to gather files from various locations for which I know the ipaddress, login&password and folder to copy. Like to use scp for unix to unix boxes, and ftp to windows boxes. Sometimes FTP service is not enable on some of the NT boxes.

This is exactly what i am looking for....
write a script reads a file for ipaddress, login&password folder to copy, server connectivity method and then parse it.
Once parsing is done copy these values in variables and run commands in loop for all the entries in the file. USE through FTP and SCP for possible machines to copy files.

Issues with this method: No modification allowed on connecting servers

1. sometimes ftp not enable at windows machines?
2. scp asked for password while connecting to unix boxes. I tried copying identity file info from client machine to authorized_keys on my server. still not working asking for password. Looks like I am seriously missing some step here!
3. Is there is any method to connect to nt boxes to copy files without using ftp as ftp needs to be enabled on client servers, which is not an option.



Thanks in advance..
Prakash

Reply With Quote
  #2  
Old July 11th, 2003, 08:54 PM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,297 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 9 m 17 sec
Reputation Power: 104
Send a message via ICQ to christo Send a message via Yahoo to christo
ssh is definitley what you need. You will need to run the ssh-keygen -t rsa command to generate a public and private key pair - then add the public key string to the authorizes_hosts file on the remote host. (usually in ~/user/.ssh/

There are some reasonable ssh turorials here on DS AFAICR,


christo

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > Connection issues to unix and windows


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway