Ssh Issue

HI friends,

I'm a new learner i want to know how to configure ssh and telnet services in linux.


Similar Content



Changing Telnet Startup Type To Automatic

Hi

I have users that log in to our linux server using telnet. Just yesterday out of the blue, the Telnet services would automatically stop, and so I have to log in through ssh to manually start the telnet services in order for users to log in.

Thanks in advance.

*I am a linux newbie, and have taken from a guy that left abruptly so Im still trying to teach myself cmds.

How To Configure Telnetd On An Embedded Linux ?

I am currently working on a sbc6000x board with linux 2.6.24 on it and would like to use the telnetd command from busybox (v1.4.2).
I can run the Telnet daemon on the board and try to connect to it from another computer but each time the connection close.

In the terminal of the computer i have : (i changed the ip with Ipoftheboard here)

Trying Ipoftheboard
Connected to Ipoftheboard
Escape character is '^]'.
Connection closed by foreign host.

I already tried to use the hosts.allow file with :
ALL : Ipofthecomputer

And i checked in /etc/initd.conf and Telnet is enabled.
I read that maybe the connection is closing because i don't have a user/password configured for the Telnet connection but i can't find where to configure them.

I must use Telnet, i can't use another solution like ssh.

Telnet Server On CentOS 7

Hello guys, I am new to using Linux and trying to setup telnet server on CentOS 7. After installing with "yum install telnet telnet-server".
I tried editing the /etc/xinetd.d/telnet file which I could not find. Please what am I not doing right?

Inet.conf Never Start The Ftp Daemon

Hi,

i am trying the run a ftp daemon on my board (sbc6000x) but it seems that the ftpd service is never started by inetd.conf.

My inetd.conf is :

Code:
#<service_name>	<sock_type>	<proto>	<flags> <user> 	<server_path> 	<args> 

ftp			stream		tcp		nowait	root	/usr/bin/ftpd ftpd -w
telnet			stream		tcp		nowait	root    /usr/sbin/telnetd

Telnet don't run too but this is because i am missing some folders and i can launch it manually after creating the folders without issue, but maybe the fact that it can't run telnet because of the missing folders make it stop trying the ftp daemon ?

I check with the command "ps", the processus is not running hidden anywhere.

Telnet / Postfix Connection Refused Question For CENTOS 6.4

Good Morning! I am supporting the coffee and Doritos industry with my frustration with this problem. I have been battling it for two months. I have several Red Hat books, the official Red Hat study guide, and have searched the forums for weeks with no avail. I was wondering if you have ever had this?

I am trying to "telnet server.example.com 25" or telnet in general. Both servers are running on a KVM on the 192.168.122.0/24 network.


[root@server ~]# telnet server.example.com
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
Trying 192.168.122.191...
telnet: connect to address 192.168.122.191: Connection refused

I can ssh, run NFS, and also run internal postfix e-mails.

IPTABLES IS TURNED OFF ON BOTH CLIENTS

Postfix and Telnet is configured on both clients, with both listening:

[root@server ~]# netstat -tulpn |grep :25
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1802/

When I Telnet from client named 'Server' to client named 'ISCSI', tpcdump on client 'ISCSI' gives the following:

19:01:23.579330 STP 802.1d, Config, Flags [none], bridge-id 8000.52:54:00:2e:85:0e.8003, length 43
19:01:23.632750 IP server.57477 > iscsi.example.com.telnet: Flags [S], seq 2403459934, win 14600, options [mss 1460,sackOK,TS val 2679191 ecr 0,nop,wscale 6], length 0
19:01:23.632882 IP iscsi.example.com.telnet > server.57477: Flags [R.], seq 0, ack 2403459935, win 0, length 0
19:01:24.428091 IP server.57478 > iscsi.example.com.telnet: Flags [S], seq 942066757, win 14600, options [mss 1460,sackOK,TS val 2679990 ecr 0,nop,wscale 6], length 0
19:01:24.428163 IP iscsi.example.com.telnet > server.57478: Flags [R.], seq 0, ack 942066758, win 0, length 0
19:01:25.006222 IP server.57479 > iscsi.example.com.telnet: Flags [S], seq 2689610466, win 14600, options [mss 1460,sackOK,TS val 2680564 ecr 0,nop,wscale 6], length 0

Unable To Configure LAN And WAN IP In CentOS

We have 20 systems and I installed SQUID proxy on CENTOS to limit internet access but I'm unable to configure LAN and WAN. We have got one router in the network with 192.168.1.1 as default gateway. I installed squid successfully but unable to configure it in client systems as I'm unable to configure LAN and WAN ips in CentOS.
Please suggest me correct configuration of LAN and WAN for my network. We don't have any static IP with us. What series of IPs do I have to configure in Linux server? After that, what would be my Proxy IP?

I have basic knowledge about Linux...

Please suggest me Conf file accordlingly.

Inetd Listening But No Connection (ftp/Telnet)

Hello,

I try to use a ftp daemon and a Telnet daemon with inetd and the BusyBox v1.19.0 on a linux 2.6.24.

When running inetd and then checking what is listening with "netstat -an |grep LISTEN" i have :
Code:
netstat: /proc/net/tcp6: No such file or directory
netstat: /proc/net/udp6: No such file or directory
netstat: /proc/net/raw6: No such file or directory
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN

tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN

tcp        0      0 0.0.0.0:23              0.0.0.0:*               LISTEN

ftp port 21 and Telnet port 23 seems to be listening.

My inetd.conf file is :

Code:
#<service_name>    <sock_type>    <proto>    <flags> <user>     <server_path>     <args> 

21 stream tcp nowait root ftpd ftpd /etc
telnet            stream        tcp        nowait    root    /usr/sbin/telnetd

I have no rule in my hosts.deny so nothing should be stopped and i have no iptables firewall in place too.

When typing "ftp://ipofthetarget" in a web browser i have a error :

Code:
504 Gateway Timeout
Gateway timeout expired while waiting for server response.

And when trying to Telnet from another computer or "Telnet localhost" from the board i have :
Code:
# telnet 10.2.29.201
Trying 10.2.29.201...
connected to 10.2.29.201.
Escape character is '^]'

Connection closed by foreign host.

This would mean that the connection for Telnet exist but why is it closing ?

Thank you for your future answers !

UPDATE 1 :
If i try to run telnetd like this :
/usb/sbin/telnet -l /bin/sh
i can connect anonymously from another computer, not perfect because i would like a user/password but still of use.
The problem with the ftp daemon still exist.

UPDATE 2 :
Trying from Windows cmd or linux terminal : ftp ipofthetarget seems to work
Not perfect because i would like a user/password too but still of use.

I am still open for suggestion for the user/password thing. I am not deleting the thread in case someone interested about this exist.

Cannot Find -lsndfile / Libsndfile In 32-bit Linux Platform

I am on a x86_64 platform in Ubuntu 14. However, I would like to build for a 32-bit linux platform. I run into the following issue when I try to build using make:

Code:
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../libsndfile.so when searching for -lsndfile
/usr/bin/ld: skipping incompatible /usr/local/lib/libsndfile.so when searching for -lsndfile
/usr/bin/ld: skipping incompatible /usr/local/lib/libsndfile.a when searching for -lsndfile
/usr/bin/ld: skipping incompatible /usr/lib/libsndfile.so when searching for -lsndfile
/usr/bin/ld: cannot find -lsndfile

It seems like I am getting this error because I don't have the 32-bit libraries. I could not find anywhere online where I could directly procure the 32-bit version of the library. I tried to follow the steps he
http://www.linuxfromscratch.org/blfs...ibsndfile.html

but instead specifying the build for the configure command:
Code:
./configure --build=i686-pc-linux-gnu --disable-static && make

But that didn't help either.

Has anyone encountered this issue before? Any pointers on what I could try? Would I have to create a subdirectory like /usr/lib32/ and move libraries around, perhaps?

I would be grateful for any tips you could provide me. Thanks!

Tips For Job Interview Preparation

respected to all
i am EMPkrishna. i am a new learner of red hat Linux, looking for a job in Linux system administrating, i have a good knowledge in Linux but i don't have any real time organization experience in Linux administrating. so please suggest me to learn the real time scenarios questions and answer @ troubleshooting questions in Linux asked in at the time of interview.
please suggest me the best way to get the knowledge on that tell me if any other sites like that to get real time questions and answer

Cann Not Connect Remotly By Telnet To Centos 6.6

I have a virtual machine on VmWare 10.0.1
Right now I am trying to make it a web server, apache works and machine has access to the Internet and i can even ping it from other pc from my network but can not connect to it by telnet.
Iptables is set to let everything inside and outside apache works.
PS Sorry for the stupid questions and bad english.