telnet myhost 1234 cant work?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers telnet myhost 1234 cant work?
# 8  
Old 02-26-2003
so from the earlier posts, my telnet myhost 7775 is working fine. but how do we interact with it then?
yls177
# 9  
Old 02-26-2003
are you trying to get telnet to pick up on port 7775? what is listening on port 7775. im not really sure what your trying to do. maybe if you post the output of the command 'netstat -a' because i am still unsure of what you are trying to do. when you do telnet myhost 7775 what responce do you get? you cant use telnet to connect to everyprotocol. because telnet is plain text you can use it connect to a pop3 server and smtp, and of course, with telnet. you cant however use telnet with sftp which you said you were trying to use before. you need to use the utility 'sftp'
instead of typing 'telnet myhost' you type 'sftp myhost'

we still need more information to help you.
# 10  
Old 02-27-2003
ya, appreciate your help... Smilie

i did a netstat -a | grep sftpd and got the below

tcp4 0 0 *.sftpd *.* LISTEN


so this proves that the port 7775 is listening?

and okay, through the earlier posts, i understand that telnet is not all capable..... and telnet myhost 7775 seems weird... because telnet and sftp are two different protocols....

what is wrong?
yls177
# 11  
Old 02-27-2003
sftp by default listens on port 115.
try sftp myhost 115
edit:
actaully wait what am i saying, just type sftp myhost
you dont need to specify the port number.
# 12  
Old 02-27-2003
ha, i did a find on sftp but no result was issued.. only sftpd, does it make a difference?

and even if i do a sftpd myhost 7775, the system just waits there.
even if i execute the command found in , http://www.cs.unc.edu/help/sftp/commands.html. it has no response...
yls177
# 13  
Old 02-27-2003
sftpd is the Daemon, or server for sftp. you cant use that to connect to an sftp server, you need the sftp client. see www.openssh.org for some software. when the ssh daemon was installed there was no clients installed with it? do you have an ssh client? again, you cant just type commands and hopesomething happens, you will most likley be prompted for a (maybe) user name and password. then the commands are just like normal ftp, ls, cd, put, get etc...
# 14  
Old 02-27-2003
also, why 7775? have you configured the sftp daemon to listen on that port? if not theres probably nothing listening there. it looks like you dont have an sftp client, before you download it though try typing /sbin/sftp myhost

dont put any port number at the end just try it just likethat. theres no sftp in /sbin then you will have to download the client.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

PING to AIX works but TELNET FTP SSH doesn't work

root@PRD /> rsh DR KFAFH_DR: protocol failure due to unexpected closure from server end root@PRD /> telnet DR Trying... Connected to DR. Escape character is '^]'. Connection closed. root@PRD /> ftp DR Connected to KFAFH_DR. 421 Service not available, remote server has closed connection... (2 Replies)
Discussion started by: filosophizer
2 Replies

2. IP Networking

Discussion at work, would a router work pluging a cable in wan1 and lan1?

hi all. and sorry for the random question, but this sparkled a raging flame-war at work and i want more points of view situation a router, with linux of some sort, dhcp client requesting for ip in wan1 (as usual with wan ports) dhcp server listening in lan1, and assigning ip (as usual... (9 Replies)
Discussion started by: broli
9 Replies

3. Shell Programming and Scripting

Add "1234" to specific field in second column

i have this file 073274753,0544901701,20101201,000316 038873722,69647455,20101130,235257 26213399,0545335767,20101201,000930 063330167,0566000101,20101201,000226 026773376,11966,20101130,234429,1194 075431120,0565900600,20101201,000428 75431120,0565900600,20101201,000538... (6 Replies)
Discussion started by: maxim42
6 Replies

4. UNIX for Dummies Questions & Answers

Difference Between Krb5-telnet And Ekrb5-telnet

Hi, I want to know the difference between these two services. Both are under xinetd. Both are used for enabling and disabling Telnet service. So, can somebody please explain me the difference between the two ? Thanks in advance :) (0 Replies)
Discussion started by: kashifsd17
0 Replies

5. UNIX for Dummies Questions & Answers

sendmail[1234]: [ID 702911 mail.alert] dowork: sl_hrtob failed

When changing my server back as the mail server, I get the following error: sendmail12345]: dowork: sl_hrtob failed When looking at previous posts similar to my issue, none of them work. I do not have DNS and have ensured that the mail domain is correct. Can anyone else help out with... (2 Replies)
Discussion started by: PuterGirl5
2 Replies

6. Shell Programming and Scripting

if ps -p 1234 reports nothing, echo something

I have a script that I need to put in some checking. It would read something like this but I need help with the exact notation: #!/bin/bash while true if #process is no longer reporting as up echo "process 1234 has fell" exit 1 # exit script fi sleep 1 #end of scriptAny help greatly... (2 Replies)
Discussion started by: ajp7701
2 Replies

7. UNIX for Dummies Questions & Answers

Automatically login in the telnet from present telnet

Hi, I was writing one script which includes to switch to the another telnet automatically from the present telnet server. I was using rlogin but firstly it takes the same user name of the present telnet and secondly it is prompting for the password. But i want to switch to the another telnet... (2 Replies)
Discussion started by: Prateek
2 Replies

8. Shell Programming and Scripting

Perl variables inside Net::Telnet::Cisco Module doesn't work

I am writing perl script to configure Cisco device but Variables inside Net::Telnet::Cisco Module doesn't work and passed to device without resolving. Please advise. here is a sample of script: use Net::Telnet::Cisco; $device = "10.14.199.1"; ($o1, $o2, $o3, $o4) = split(/\./,$device);... (5 Replies)
Discussion started by: ahmed_zaher
5 Replies

9. UNIX for Dummies Questions & Answers

How to find all files containing "1234" in their inode number?

Hi, if there are 3 files with the following inode numbers: 012345 012346 012347 is there a way to find all those files containing "1234" as inode? i found out that i cant use any wildcards. or i just didnt put them in the right way. find . -inum ... ? thanks 4 help. devil (2 Replies)
Discussion started by: daredevil82m
2 Replies

10. Shell Programming and Scripting

Webpage to Telnet via Perl and Expect: Telnet problem?

Somewhat long story: I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage. This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Discussion started by: jondo
1 Replies
Login or Register to Ask a Question