ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am working on a hardware device, it supports rsh (port513 and port 514 is open in device)
when I connect using putty (windows client) is shows login prompt, but when I connect using nc, telnet, rsh (linux clients) it does not show login prompt.
Purpose: I should be able to connect using a bash script or using a c code.
I am not able to understand this behavior, why its responding to putty client (win) only
There is no firewall,
there is no issue with the device..
It is connecting with putty (from windows), it prompts for username and password.
but when I telnet to port 513, or use any other method to connect to port 513 of that device, it does not prompt for username password.
it is only responding to putty..
I will capture packets and check..
---------- Post added 10-12-14 at 09:13 AM ----------
There is no firewall,
there is no issue with the device..
It is connecting with putty (from windows), it prompts for username and password.
but when I telnet to port 513, or use any other method to connect to port 513 of that device, it does not prompt for username password.
it is only responding to putty..
I Installed putty on Ubuntu
tried with telnet -r , and nc.
its responding to putty on windows and Linux both.
My requirement is , I need to connect and authenticate to rlogin (Sorry its not rsh)
using a c program or shell script.
---------- Post added 10-13-14 at 10:15 AM ----------
I Installed putty on Ubuntu
tried with telnet -r , and nc.
its responding to putty on windows and Linux both.
My requirement is , I need to connect and authenticate to rlogin (Sorry its not rsh)
using a c program or shell script.
Because rlogin,rsh is insecure it has been replaced by ssh. I assume they are actually symlinks to ssh in Ubuntu which is why you are having problems. You can install the real rlogin client via the package rsh-client or rsh-redone-client (fixes bugs and includes IPV6 support).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.