How to rdist to secure server.


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How to rdist to secure server.
# 1  
Old 03-02-2007
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  
Old 03-02-2007
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  
Old 03-02-2007
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  
Old 03-02-2007
Quote:
Originally Posted by Mar1006
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
rdist is part of the r-family of commands, like rlogin, rcp, rsh.

The r-family is INSECURE.

The administrator of the other machine, with good reason, doesn't like this and therefore only accepts SECURE methods like ssh and sftp.

No way you get this done unless the administrator of the other system gives up his policy of allowing only secure methods.

The alternative is to build your own tool, which works similar like rdist and uses scp instead.
# 5  
Old 03-02-2007
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)
# 6  
Old 03-02-2007
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
# 7  
Old 03-05-2007
Mar1006, please do not start multiple threads for the same subject. I have merged the threads.
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Secure Copy - File Transfer between 2 server

Using RCP command we can transfer file from one server to another server. While transferring we can rename the file also e.g. File name = FILE123.txt (lying on Source server = oldserver) Target Server Name = newyour Renamed File = FILE456.txt rcp FILE123.txt newyour:./FILE456.txt... (1 Reply)
Discussion started by: Pash
1 Replies

2. Shell Programming and Scripting

Transfer files from linux server to windows using secure ftp (sftp)

HI, I have to transfer files from linux server to windows using secure ftp (sftp) .Kindly help me out. (3 Replies)
Discussion started by: manushi88
3 Replies

3. 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

4. HP-UX

ftp to secure server

How to ftp file to secure server. Can somebody pls guide. (1 Reply)
Discussion started by: rkkiran
1 Replies
Login or Register to Ask a Question