The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
JSCAPE Secure FTP Server 3.8 (Default branch) iBot Software Releases - RSS News 0 03-05-2008 05:20 AM
Annvix: A stable, secure, no-frills server distro iBot UNIX and Linux RSS News 0 01-21-2008 12:50 PM
Annvix: A stable, secure, no-frills server distro iBot UNIX and Linux RSS News 0 01-16-2008 12:30 PM
Secure FTP Problem using Sun SSH on Client system F-Secure on Server system ftpguy SUN Solaris 2 01-11-2007 12:19 PM
ftp to secure server rkkiran HP-UX 1 01-03-2005 12:30 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-02-2007
Mar1006 Mar1006 is offline
Registered User
  
 

Join Date: Aug 2006
Posts: 14
Question How to rdist to secure server.

Hi,

Earlier i am posting some files using rdist.

rdist -h -f <file-name>

File-name is file which contains details of servername,host,source & destination.

Now server has changed and it is giving connection refused error.What i have to do.

error is:

updating <servername>
<servername>:Connection refused.

the server only accepts sftp & ssh.

How can i rdist to this server with out any problem? Is there any way.

I did some investigation on net.I found that rdist normally uses rsh.But i need rdist via ssh.

to do this it depends on version & need to configure something.

Any body let me know how to find my rdist version.(I didn't find the version of it)

Since i don't have permission to configure,How can i publish files using rdist via ssh .

Rgds
Kan

Last edited by Mar1006; 03-02-2007 at 10:27 AM..
  #2 (permalink)  
Old 03-02-2007
Mar1006 Mar1006 is offline
Registered User
  
 

Join Date: Aug 2006
Posts: 14
Question How to rdist via ssh

Hi,

Earlier i am posting some files using rdist.

rdist -h -f <distfile>

distfile is file which contains details of servername,host,source & destination.

Now server has changed and it is giving connection refused error.What i have to do.

error is:

updating <servername>
<servername>:Connection refused.

the server only accepts sftp & ssh.

I have to use rdist via ssh.it need some configuration.

1)Since i don't have permission to do configuration.
2) I don't know what rdist version my server using(How to find version of rdist)

How can achieve the publishing files with rdist via ssh.

Thanks
K
  #3 (permalink)  
Old 03-02-2007
dsbeerf's Avatar
dsbeerf dsbeerf is offline
Registered User
  
 

Join Date: Dec 2005
Location: Chicago, IL USA
Posts: 58
Quote:
Originally Posted by Mar1006
Hi,

Earlier i am posting some files using rdist.

rdist -h -f <distfile>

distfile is file which contains details of servername,host,source & destination.

Now server has changed and it is giving connection refused error.What i have to do. error is:

updating <servername>
<servername>:Connection refused.

the server only accepts sftp & ssh.

I have to use rdist via ssh.it need some configuration.

1)Since i don't have permission to do configuration.
2) I don't know what rdist version my server using(How to find version of rdist)

How can achieve the publishing files with rdist via ssh.

Thanks
K
There is nothing wrong with your method. Whatever was changed on the server, SSH is no longer running. That is what the 'Connection Refused' means. The SSH port is closed. No daemon is listening on that port.

Contact the administrator of that machine and find out what they changed and why. And why you weren't notified.
  #4 (permalink)  
Old 03-02-2007
sb008 sb008 is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 384
Quote:
Originally Posted by dsbeerf
There is nothing wrong with your method. Whatever was changed on the server, SSH is no longer running. That is what the 'Connection Refused' means. The SSH port is closed. No daemon is listening on that port.

Contact the administrator of that machine and find out what they changed and why. And why you weren't notified.
SSH is running just fine, rdist is no longer accepted, since the system administrator no longer allows insecure access (rdist, rsh, rcp, rlogin) but only secure access (ssh, scp, sftp)
  #5 (permalink)  
Old 03-02-2007
BOFH BOFH is offline Forum Advisor  
Registered User
  
 

Join Date: Feb 2005
Location: Broomfield, CO
Posts: 406
If your rdist was compiled to allow you to change the transport, you just need to pass "-P /usr/bin/ssh" (use the right path for the location of your ssh of coures) and it should work. It'll surely ask for your password to send the files though.

If your rdist wasn't compiled with that capability, you'll need to retrieve the source and change the compile time options to allow optional transports.

You might also consider rsync which is what I use for my website syncing.

Carl
  #6 (permalink)  
Old 03-05-2007
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
Mar1006, please do not start multiple threads for the same subject. I have merged the threads.
  #7 (permalink)  
Old 03-05-2007
Mar1006 Mar1006 is offline
Registered User
  
 

Join Date: Aug 2006
Posts: 14
Hi Carl,

I can't do this."-P /usr/bin/ssh"

My server contains Perl 5.It's rdist doesn't have -P option.

Any Alternative?

Thanks
Kan
Closed Thread

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:53 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0