General :: Can Ssh Into Ubuntu But Cannot Telnet
Aug 21, 2010i set up a MAC power pc with ubuntu. i can ssh into it, but i cannot telnet. this is what i get when i telnet to the host i can only telnet to port 80
[Code]....
i set up a MAC power pc with ubuntu. i can ssh into it, but i cannot telnet. this is what i get when i telnet to the host i can only telnet to port 80
[Code]....
I am trying to find the difference between the above two services. Both are under xinetd and can someone please explain the difference between them (is one more secure than the other one?)
View 1 Replies View RelatedI want to allow only ip segment(212.154.75.0/24) to telnet the server(RHEL-7.3).How this can be done using iptables?In the server i gave this command:
# iptables -I FORWARD -s 212.154.75.0/24 -p tcp --dport 23 -j ACCEPT
output is
0 0 ACCEPT tcp -- * * 212.154.75.0/24 0.0.0.0/0 tcp
[code]....
i have a telnet client src rpm. I need to make some changes in the src and recompile it. i am having problems recompiling src rpm
View 5 Replies View RelatedI would like to make a telnet connection to one server. I can't do this at first beceause i necesary to connect to another server. I use the program putty and this is the command to connect to my first machine:
[Code]....
how do I setup/enabled telnet access only for particular directory, when any user log-in on to my server, he gets something like below pattern on to remote server, and only login to specified directory, also he need to run few bash commands.
[ravi@mydomain00 ~]$ telnet mydomain.com
Trying 127.0.0.1...
Connected to mydomain.com (127.0.0.1).
Escape character is '^]'.
[Code]....
I need to make a test on Fedora 8, with a Telnet... and seems NOT to beenabled.The package is installed, but if I have a look into /etc/xinedtd thereis no TELNET file ?Is there any changes into FEDORA 8 ? How to I configure Telner in Fedora 8 ?
View 6 Replies View RelatedI am trying to open the telnet port on my system with port 4100 and for the same i have inserted the entries in iptables file using below command./sbin/iptables -A INPUT -s 132.186.208.83/24 -p tcp �-dport 4100 -j ACCEPT.
View 1 Replies View RelatedI was just checking the configuration file of /etc/xinetd.d/krb5-telnet and i thought of enabling the telnet.I modified the configuration file accordingly and restarted the server.
Code:
# cat /etc/xinetd.d/krb5-telnet
# default: off
[code]...
I have a temlnet problem -telnet 192.168.0.4 1004 failed.
At 192.168.0.2, "telnet 192.168.0.4" make connection successfully at port 23, however "telnet 192.168.0.4 1000" does not make connection at port 1000.
i am on CentOS 5.5 ,and unable to do the Telnet. SElinux is in Permissive mode and firewall is off. below are the details for the help. i tried it before and after disabling the firewall and SELinux.
[Code].....
I've tried searching for this peculiar behavior, but couldn't find a solution that works for it - I have installed Redhat on my system and have a listener running on port 7878. I wanted to check if the port is accessible from a machine on the network, and so i telnet-ed from a remote machine and it worked. Now comes the weird problem - I used the same command (telnet xxx.xxx.xxx.xxx 7878) locally and it was able to telnet. However, if I try to connect using localhost, meaning, "telnet localhost 7878" or "telnet 127.0.0.1 7878", it gives me the following error:
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused
Here is my /etc/hosts entry:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
[Code]....
Not sure where the problem is. I expect telnet to connect irrespective of whether i use the IP address OR localhost when i use telnet locally.
How to eneble telnet in linux based os?
I'd tried this command:
telnet my pc ip & name
I want to run a command every time I log in to my Ubuntu box, but only if I'm connecting through telnet, not if I'm logging in at the console.
View 1 Replies View RelatedSo I have a script that is supposed to check to see if a mail server is up and responsive. What I want to know is how I can send it the telnet escape character. I've tried:VAR=`(sleep 5;echo quit) | (telnet mailserver.timbuktu.net 25 2>&- )`
This works BUT there is a problem as the mail server may have been accidentally firewalled off. If this happens, my automated checking script will hang. What I want to do is send the escape character so that the '>' prompt comes up. They I should be able to send it "quit" even if it is hung on not getting a response from the server. VAR=`(sleep 5;echo -e '^]';sleep 1;echo quit) | (telnet arhqmg01.usarec.army.mil 25 2>&- )`
The above doesn't work. telnet interprets CTRL+] as '^]' but you can't type '^]' and get the same effect. So I guess what I need is to send the actual keystrokes. Like echo "somenumber" ; echo quit
I am looking for a way to deny telnet and ssh to one specific user. So far I've only tested with telnet and my attempts have been limited to various hosts.deny entries:
in.telnetd : user@server
in.telnetd : user@server.domain.com
in.telnetd : user@IP_address
in.telnetd : user@.domain.com
None of these work. The only thing I've found that does work is:in.telnetd : IP_addressBut this is only a semi-viable solution because we will soon have multiple logins for the one username from different servers and sub-nets. Ideally, I'd like to be able to deny telnet and ssh access to this username regardless of where the login originates. I suppose it would be possible to specify each server IP, but that'll be a bear to maintain
From Linux client end I can easily telnet to a remote Linux server easily , Like :
[root@apps1 ~]# telnet 192.168.1.14
Trying 192.168.1.14...
Connected to 192.168.1.14 (192.168.1.14).
Escape character is '^]'.
catalog.aibl.com (Linux release 2.6.18-8.el5 #1 SMP Tue Jun 5 23:25:19 EDT 2007) (1)
login:
But I want to disable the "telnet" command from the client end , so that I cannot telnet to a remote linux server from the Linux client end
I have a task I need to enable root telnet on SLES 11.I know about security hole, it is a must requirement accordingly to executing some scripts.Telnet works for the other user , but not for rootSSH work properly.Added pts/0 .. pts/24 to the /etc/securetty
View 5 Replies View RelatedI have CENTOS 5.4 Installed in one machine and i used Real IP provided by our ISP.My requirements for Mailserver are:
Dovecot
Postfix
everythings done but when i tried to telnet my External IP it giving me an error of telnet connection refused but i can able to ssh to my external IP and also i disabled the firewall but still no luck.
In a remote machine port 25 is open its enabled in firewall also...but not able to connect through telnet..why ?
netstat -an | grep 25
Code:
tcp 0 0 0.0.0.0:44525 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
[code]....
Code:
telnet 172.17.65.206 25
Trying 172.17.65.206...
telnet: connect to address 172.17.65.206: No route to host
telnet localhost 143Trying 127.0.0.1...Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution information.a login rakesh@sanjiv.com rakesha NO Login failed.i have problem when Installing Courier-imap/imaps with Courierpassd .
In my home we have got an internet connection which is connected to desktop machine having two network cards. One card is connected to external internet and second is used for internal LAN.
We have installed a proxy on desktop machine so that we can connect to internet through proxy. So we are not able to telnet to smtp.gmail.com 587 from laptops of internal LAN laptop installed with ubuntu and fedora.
At the same time we are able to ping smtp.gmail.com from the desktop machine which is exposed to internet.
I want to automate email through shell script using smtp.gmail.com.
Why am I not able to telnet to a Windows server machine? Is it because the telnet server is not running there? A remote desktop connection works though.
Does a telnet server run by default on a Unix machine?
Machine A is located behind client firewall. The machine runs telnetd. This is Linux machine with Python 2.5.4 installed. I do not know the IP addy of the router and firewall is not open incoming. outgoing firewall is open.
Machine B (Windows machine) is a server with well known IP address. I can install any programs I want on either machine.
The idea is that I want Machine A to open a socket to machine B. Then I want to hold that socket and use to run a telnet session from Machine B to Machine A telnetd server.
I have been trying to shutdown a remote XP machine but cannot get it to budge. I did the following on the Windows box:
Ensured no firewall
Started Remote Registry Editing service
Shared a network drive (to enable file sharing?)
Created a user 'shutdown' specifically for shutting down
Added 'shutdown' to Administrators group
Added 'shutdown' to the list of allowed shutdown users in gpedit.msc
Here's what I have tried:
From Windows 7 box:
shutdown -m computer (Access denied message)
psshutdown -m computer (Access denied message)
runas /user:computershutdown "cmd /K shutdown -m computer (access denied)
runas /user:shutdown "cmd /K shutdown -m computer (access denied)
From Linux box:
net rpc shutdown -I computer -U user%password (says shutdown succeeded) rpcclient -I x.x.x.x -c shutdown -U user (gives usage message)
On my ubuntu 9.10 pc i am not running a GUI.
Every thing is run from command line.
How do i start a second telnet session from command line.
Plus can i have 4 telnet session open and move from one to the next and back again.
where to set the telnet session timeout for the IDLE time in redhat linux.
View 2 Replies View Relatedlinux 5.4(RHEL) and window machine are pinging nicely.able to access window on linux but not linux at window(xp)? xinetd is running on linux as well as telnet service is also running on xp.
View 1 Replies View Relatedi am trying to write a telnet server without username/password function. how to implement such function? the source code from inetutils seems complicated..
View 8 Replies View RelatedIf I only want to let a user be able to login via telnet a max number of times equal to 2 how would I go about doing this?I have found this little tid bit:per_source = 2but that only allows 2 connections from the same source (i.e. network) and that would not work. For some reason our telnet sessions are not dying off after a user has shutdown their PC and then the next time they login it adds another telnet session.
1. user1 31300 /dev/pts/409
2. user1 27539 /dev/pts/539
3. user1 18042 /dev/pts/316
[code]....