12-13-2013
i mean not directly login to server A.
I am expecting "remote access" of server A through server B
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to write a script which would run from one host say A and connect to other remote host B and then run rest of commands in that host. I tried connecting from A host to B with SSH but after connecting to host B it just getting me inside Host B command prompt. Rest of the script is not running... (6 Replies)
Discussion started by: SN2009
6 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I wish to run a script located on a remote host machineB from machineA.
I am using ssh and running the below on machineA.
However, the ssh does not seem to work and freezes at
ssh -l wlsadmin machineB -v
Sun_SSH_1.1.2, SSH protocols 1.5/2.0, OpenSSL 0x0090704f
debug1: Reading... (9 Replies)
Discussion started by: shifahim
9 Replies
3. Shell Programming and Scripting
I am newbie in Unix and Expect script, so please help me :(
I'm using expect script for remote another host:
#!/usr/bin/expect -f
set timeout 10
spawn ssh -l root 10.120.18.4
expect "password:"
send "password\r"
expect "@"
interact
And now how can i use expect script for access mysql... (2 Replies)
Discussion started by: wormym
2 Replies
4. Shell Programming and Scripting
OS~AIX 6.1
I'm running an interactive shell script i.e.,waits for a user response a few times while executing, after doing ssh to a AIX server. I'm just wondering what options I have if the ssh connection to the server is lost while executing the script, do I have to run the script again, which in... (2 Replies)
Discussion started by: mbak
2 Replies
5. Shell Programming and Scripting
Hi All,
Noticed few posts around this but coudnt get exatcly what i wanted. Thanks for your help again.
I have a script running on a remote machine and i normally ssh from putty and run the script manually.
Is there anyway that i can write an HTML Code with a button so taht when I Click... (1 Reply)
Discussion started by: robinbannis
1 Replies
6. Shell Programming and Scripting
Hi,
is there a way I can run a shell script through ftp on a remote host? The remote host doesn't have ssh running so I can't use ssh. (7 Replies)
Discussion started by: mrskittles99
7 Replies
7. Shell Programming and Scripting
Hi,
Given addresses of 2 remote machines, using a shell script is it possible to
get the state of running processes in "src"
stop all the processes in "src"
exit out of "src"
ssh into "dest"
resume the state of executing processes captured in step 1 in "dest"
Assumption:
"src" is... (3 Replies)
Discussion started by: Saeya Darsan
3 Replies
8. Shell Programming and Scripting
Geeks,
Could you please help me out in my script and identify the missing piece. I need to check/get the exit status of a remote command executed on remote host through script and send out an email when process/processes is/are not running on any/all server(s).
Here's the complete... (5 Replies)
Discussion started by: lovesaikrishna
5 Replies
9. Shell Programming and Scripting
Hi,
I got most of the script working, last part which does the ssh to remote and execute the command not working.
for SSH in ${HostList}; do
echo ${SSH}
echo ""
SSH2SEND=ssh user@${SSH} curl -v $URL
echo $SSH2SEND
done
error message I am getting ... (5 Replies)
Discussion started by: samnyc
5 Replies
10. Shell Programming and Scripting
I have below command to check for error logs from last 24 hours from the file : /var/log/messages/ The command is working fine on the local host.
sudo awk -F - -vDT="$(date --date="24 hours ago" "+%b %_d %H:%M:%S")" ' DT < $1' /var/log/messages | egrep -i "error|fail"
I want to run the... (8 Replies)
Discussion started by: rahul2662
8 Replies
LEARN ABOUT ULTRIX
rlogind
rlogind(8c) rlogind(8c)
Name
rlogind - remote login server
Syntax
/etc/rlogind
Description
The server is used for the program. The server provides a remote login facility with authentication based on privileged port numbers.
The server is invoked by when it receives a connection on the port indicated in the login service specification. For further information,
see When a service request is received, the following protocol is initiated:
1. The server checks the client's source port. If the port is not in the range 0-1023, the server aborts the connection.
2. The server checks the client's source address and requests the corresponding host name. If the hostname cannot be determined, the dot-
notation representation of the host address is used.
Once the source port and address have been checked, allocates a pseudo terminal and manipulates file descriptors so that the slave half of
the pseudo terminal becomes the stdin, stdout, and stderr for a login process. For further information, see
The login process is an instance of the program, invoked with the option. The login process then proceeds with the authentication process
as described in but if automatic authentication fails, it reprompts the user to log in on a standard terminal line.
The parent of the login process manipulates the master side of the pseudo terminal, operating as an intermediary between the login process
and the client instance of the program. In normal operation, the packet protocol described in is invoked to provide ^S/^Q type facilities
and propagate interrupt signals to the remote programs. The login process propagates the client terminal's baud rate and terminal type, as
found in the environment variable, TERM. For further information see
The screen or window size of the terminal is requested from the client, and any changes in the window size from the client are sent to the
pseudo terminal.
Restrictions
The authentication procedure used here assumes the integrity of each client machine and the connecting medium. This is insecure, but it is
useful in an open environment.
Diagnostics
All diagnostic messages are returned on the connection associated with the stderr, after which any network connections are closed. An
error is indicated by a leading byte with a value of 1.
Hostname for your address unknown
No entry in the host name database existed for the client's machine.
Try again
A fork by the server failed.
/bin/sh: ...
The user's login shell could not be started.
See Also
rlogin(1c), inetd(8c)
rlogind(8c)