Sponsored Content
Full Discussion: Sockets for remote login
Top Forums Programming Sockets for remote login Post 302418150 by MrUser on Monday 3rd of May 2010 08:50:25 AM
Old 05-03-2010
Sockets for remote login

Hi,

i have written a program that provides the remote login for the system whose IP is specified.


the program is working correctly on the same machine but its not working when i try to communicate with the other system.

i am attaching both client and server programs.

Please help.

Regards,
MrUnix.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Remote Login (Unix)

Is there any way I can disallow remote login on a m/c (3 Replies)
Discussion started by: DPAI
3 Replies

2. Shell Programming and Scripting

remote login

Hi i have recently switched to unix environment,i am trying to make a shell script which logs on to the remote machines and plays some commands and collects the out put into a file.but i am not able to create any file on remote hosts.see the sample code . rsh hostname -l username << ENDTAG... (4 Replies)
Discussion started by: Raom
4 Replies

3. UNIX for Dummies Questions & Answers

Remote login with VNC

Hi Everyone, Well I am not sure if this right forum. I have install Redhat 5 enterprise. I have everything running. I have configured vncserver. Starts with out errors. I am trying to connect for a XP machine to my RedHat server. I can connect from my XP machine through VNC viewer but I get... (1 Reply)
Discussion started by: Peterh
1 Replies

4. Shell Programming and Scripting

Remote login through ssh

Hi , I need to login to remotemachines through ssh and move some logfiles to my localmachine. My servername,username and password will be store in the .profile file. can any one please help me in this? This will be a cronjob so Password can't be enter at run time. Thanks in advance Subin (5 Replies)
Discussion started by: subin_bala
5 Replies

5. Shell Programming and Scripting

Remote Login in to another Terminal

hi all , i need the command for remote login in to another terminal, came accross by using "tty" command. please suggest and help me out in this. Regrds Sridhar. (1 Reply)
Discussion started by: Sridhar_dev
1 Replies

6. AIX

remote login problem

dear all, i have a problem, when i try to login to CDE on AIX remotely using xmanager i get a dead screen. any solution thanks (1 Reply)
Discussion started by: bondoq
1 Replies

7. Linux

How to find remote Linux box login account without login in to that box?

Hi, How to find remote Linux box login account without login in to that box? I don't have login account at my remote Linux box. But I need who are all having login account. How do I findout? Thanks, --Muthu. (3 Replies)
Discussion started by: Muthuselvan
3 Replies

8. Solaris

how to login with ssh to remote system with out applying the remote root/usr password

how to login with ssh to remote system with out applying the remote root/user password with rlogin we can ujse .rhosts file but with ssh howits possible plz guide (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies

9. Windows & DOS: Issues & Discussions

Login Oracle from remote xp

Hi dear all, I have installed ORACLE 11g on RHEL-4, where the RHEL is installed on VM. ORACLE is working fine on RHEL but i am not able to connect oracle on my XP. how can i? (1 Reply)
Discussion started by: akhaliq22
1 Replies
on(1)								   User Commands							     on(1)

NAME
on - execute a command on a remote system with the local environment SYNOPSIS
on [-i] [-d] [-n] host command [argument] ... DESCRIPTION
The on program is used to execute commands on another system, in an environment similar to that invoking the program. All environment vari- ables are passed and the current working directory is preserved. To preserve the working directory, the working file system must be either already mounted on the host or be exported to it. Relative path names will only work if they are within the current file system. Absolute path names may cause problems. The standard input is connected to the standard input of the remote command. The standard output and the standard error from the remote command are sent to the corresponding files for the on command. OPTIONS
The following options are supported: -d Debug mode. Prints out some messages as work is being done. -i Interactive mode. Uses remote echoing and special character processing. This option is needed for programs that expect to be talk- ing to a terminal. All terminal modes and window size changes are propagated. -n No Input. This option causes the remote program to get EOF when it reads from the standard input, instead of passing the standard input from the standard input of the on program. For example, -n is necessary when running commands in the background with job control. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWnfscu | +-----------------------------+-----------------------------+ SEE ALSO
chkey(1), rlogin(1), rsh(1), telnet(1), attributes(5) DIAGNOSTICS
unknown host Host name not found. cannot connect to server Host down or not running the server. can't find Problem finding the working directory. can't locate mount point Problem finding current file system. RPC: Authentication error The server requires DES authentication and you do not have a secret key registered with keyserv. Perhaps you logged in without a pass- word. Try to keylogin. If that fails, try to set your publickey with chkey. on server: RPC: can't encode arguments The 10240 byte limit for arguments to be encoded and passed from the sending to the receiving system has been exceeded. Other diagnostic messages may be passed back from the server. BUGS
When the working directory is remote mounted over NFS, a Control-Z hangs the window. Root cannot use on. SunOS 5.10 8 Oct 2003 on(1)
All times are GMT -4. The time now is 01:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy