Sponsored Content
Full Discussion: remsh ? rlogin? rhost? r?
Top Forums UNIX for Dummies Questions & Answers remsh ? rlogin? rhost? r? Post 5491 by PxT on Wednesday 15th of August 2001 02:27:45 PM
Old 08-15-2001
Not every platform gives host information in the w/finger output.

To the original poster: put the IP address of machine XYZ in the .rhosts file on ABC.

Example:

192.168.0.1 rex

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

remsh

i m try to do remsh i need to know what are the step to define the user and password i try .rhosts it give me operator:/export/home/operator>remsh billmed ps -ef permission denied just for testing (3 Replies)
Discussion started by: kazanoova2
3 Replies

2. UNIX for Dummies Questions & Answers

rhost problems

dear unix gurus, trying to search for this thread in the forum but can't seem to find any of them. just would like to post 2 questions: 1) if there are spaces in the .rhosts file will it cause problems for users who try to run the program/ script? :confused: 2) does the .rhosts file be... (10 Replies)
Discussion started by: lweegp
10 Replies

3. Solaris

remsh working one way

host Solaris 5.9 E250 host-name: sunsrv1 remote Solaris 5.8 Netra 250 host_name: sspfs_svr i am able to remsh (or rsh)from remote to host like ; $ remsh sunsrv1 uname -n sunsrv1 but opposite way not possible; # remsh sspfs_svr ls sspfs_svr: Connection refused OR # rsh -l username... (2 Replies)
Discussion started by: xramm
2 Replies

4. Shell Programming and Scripting

how to use remsh to duplicate all...

hi , Any idea how to use remsh to duplicate whatsoever ( / ) from host1 to host2 across network with root? Regards, (0 Replies)
Discussion started by: rauphelhunter
0 Replies

5. Solaris

define .rhost file for tape backup to remote host

howdy experts, i am using 2 server- Solaris 5.9 i have tape device attached with 1 of my solaris server. But others not. # modinfo|grep tape 152 13d43e4 1333c 33 1 st (SCSI tape Driver 1.231) now i want to Backup DATA file and System File in Tape Drive. How do I take data and... (3 Replies)
Discussion started by: thepurple
3 Replies

6. Shell Programming and Scripting

remsh variables

Hi, I have script. #!/bin/sh -x CD=masterservice remsh 132.196.133.185 -l root './export $CD > test.output' rcp root@132.196.133.185:test.output But I receive the following error. + remsh 132.196.133.185 -l root ./export $CD > test.output To make it work, I remove the ' signs.... (1 Reply)
Discussion started by: mr_andrew
1 Replies

7. UNIX for Dummies Questions & Answers

remsh options

Hi All, I want to know all the options that are used for command remsh. And also the prerequisites like entries in .rhosts file. Can anybody share the link or document? thanks. (1 Reply)
Discussion started by: AB10
1 Replies

8. Shell Programming and Scripting

Remsh

Hi All, Im using remsh to execute shell script on remote server. And this script gets called from another AIX server. My code is: remsh $rHost -l $rUser -n "export JAVA_HOME=/usr/java6_64_SR7; export ORACLE_HOME=/oravl01/oracle/11.1.0.7; export... (3 Replies)
Discussion started by: AB10
3 Replies

9. UNIX for Advanced & Expert Users

Remsh command

Hi Can any 1 tell me how to use REMSH command with example actually i wanted to run the following command on different severs thru script "df -k .| tail -1 | tr -s ' ' ' ' | cut -d ' ' -f5" :) please reply ASAP.:) (3 Replies)
Discussion started by: maddy_07
3 Replies

10. Shell Programming and Scripting

Remsh

Hello All, I am on HP-UX. Problem is that my remote script behaves different depending on execution method. Method1 (Remote execution): remsh remoteserver /home/myscript.sh Method2 (Local execution): remoteserver :/home#sh myscript.sh In method 2, I can succesfully set timestamp with... (6 Replies)
Discussion started by: mrcrowley
6 Replies
Net::SOCKS(3pm) 					User Contributed Perl Documentation					   Net::SOCKS(3pm)

NAME
Net::SOCKS - a SOCKS client class SYNOPSIS
Establishing a connection: my $sock = new Net::SOCKS(socks_addr => '192.168.1.3', socks_port => 1080, user_id => 'the_user', user_password => 'the_password', force_nonanonymous => 1, protocol_version => 5); # connect to finger port and request finger information for some_user my $f= $sock->connect(peer_addr => '192.168.1.3', peer_port => 79); print $f "some_user "; # example writing to socket while (<$f>) { print } # example reading from socket $sock->close(); Accepting an incoming connection: my $sock = new Net::SOCKS(socks_addr => '192.168.1.3', socks_port => 1080, user_id => 'the_user', user_password => 'the_password', force_nonanonymous => 1, protocol_version => 5); my ($ip, $ip_dot_dec, $port) = $sock->bind(peer_addr => "128.10.10.11", peer_port => 9999); $f= $sock->accept(); print $f "Hi! Type something. "; # example writing to socket while (<$f>) { print } # example reading from socket $sock->close(); DESCRIPTION
my $sock = new Net::SOCKS(socks_addr => '192.168.1.3', socks_port => 1080, user_id => 'the_user', user_password => 'the_password', force_nonanonymous => 1, protocol_version => 5); To connect to a SOCKS server, specify the SOCKS server's hostname, port number, SOCKS protocol version, username, and password. Username and password are optional if you plan to use a SOCKS server that doesn't require any authentication. If you would like to force the connection to be nonanoymous, set the force_nonanonymous parameter. my $f= $sock->connect(peer_addr => '192.168.1.3', peer_port => 79); To connect to another machine using SOCKS, use the connect method. Specify the host and port number as parameters. my ($ip, $ip_dot_dec, $port) = $sock->bind(peer_addr => "192.168.1.3", peer_port => 9999); If you wanted to accept a connection with SOCKS, specify the host and port of the machine you expect a connection from. Upon success, bind() returns the ip address and port number that the SOCKS server is listening at on your behalf. $f= $sock->accept(); If a call to bind() returns a success status code SOCKS_OKAY, a call to the accept() method will return when the peer host connects to the host/port that was returned by the bind() method. Upon success, accept() returns SOCKS_OKAY. $sock->close(); Closes the connection. SEE ALSO
RFC 1928, RFC 1929. AUTHOR
Clinton Wong, clintdw@netcom.com COPYRIGHT
Copyright (c) 1997-1998 Clinton Wong. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-04-18 Net::SOCKS(3pm)
All times are GMT -4. The time now is 02:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy