telnet login
Hi all...
I am trying to login to remote server through telnet.... Code:
[vinay@localhost webhuddle]$ telnet 172.21.109.60 I commented line in /etc/issue.net Code:
#Welcome to SUSE LINUX Enterprise Server 9 (i586) - Kernel %r (%t). Thanks in advance..... |
Quote:
You have blank lines under the welcome message. Remove them... |
Quote:
vim /etc/issue.net Code:
#Welcome to SUSE LINUX Enterprise Server 9 (i586) - Kernel %r (%t). |
Is it possible to remove the blank line above linux login: root
? Can anyone suggest about this... |
Quote:
|
Quote:
I am not using .telnetrc file anywhere..I have to get rid of the blank line which is getting printed ? |
Quote:
have you tried completely blanking out /etc/issue.net? i cant really test this now as im not in front of a suse machine. maybe if you have not got it sorted by the time i get home i can check it... |
Make sure there is no Carrier return at the beginning of
/etc/issue.net Code:
cannabis:/home/repo# cat /etc/issue.net |
Quote:
Code:
cannabis:/home/repo# cat /etc/issue.net |
Quote:
I found \n at the end of line Code:
linux:~ # od -tc /etc/issue.net Code:
tr -d '\012' < /etc/issue.net > test.txt Whereas, it works when there is no # at the beggining of the line /etc/issues.net like Code:
linux:~ # od -tc /etc/issue.net This time it is working, but Message Welcome to SUSE LINUX Enterprise Server 9 (i586) - Kernel \r (\l). is printing since hash is removed, My requirement is not to print message and blank line...Simultaneously both are not working.... Hope you help me with this...Thanks once again... Waiting with anticipation..... |
Quote:
|
Quote:
Thanks for suggestion... In your case it is working fine because it is printing some message when you login, please try to comment contents of /etc/issue.net and try...I hope it will give a blank line even if you remove \n at the end.. |
Quote:
Quote:
|
Quote:
I have not got the solution yet...I dont want to print either message or blank line I have tried by making the file empty...It doesn't work...same blank line will appear.. Finally I removed /etd/issue.net and i tried Code:
[vinay@localhost webhuddle]$ telnet 172.21.109.60 Any help ? |
Quote:
like i said i cant really test as no suse...but im sure it cant be that much different from centos? |
All times are GMT -5. The time now is 05:42 AM. |