problem with telnet

Jeff Kinz jkinz at kinz.org
Sun Feb 6 13:10:46 UTC 2005


On Sat, Feb 05, 2005 at 06:47:59PM -0800, Bill Brunt wrote:
> Worked like a charm.  Didn't bottom post in this case.  What's the correct protocol?
> 
> -----Original Message-----
> From: redhat-install-list-bounces at redhat.com
> [mailto:redhat-install-list-bounces at redhat.com]On Behalf Of Bob McClure
> Jr
> Sent: Saturday, February 05, 2005 9:15 PM
> To: Getting started with Red Hat Linux
> Subject: Re: problem with telnet


Bill FYI-  
There's a plug in for Exchange that helps Exchange do the standard
one-line reply quote and fixes other things as well.
Its very useful, take a look:
To fix Outlook Exchange:
http://home.in.tum.de/~jain/software/outlook-quotefix/


Gives you this instead of the four liner:
> On Sat, Feb 05, 2005 at 05:33:12PM -0800, Bill Brunt wrote:

> > Alright so I'm going to reveal my true ignorance, how does one run ssh
> > from the server and client side to get a terminal session?
Ignorance is only temporary.... (mostly, some days there isn't enough
coffee :)

> On the server, run    chkconfig --list sshd
> 
> If they all say off, then    chkconfig sshd on
> 
> That will make it come up at the next boot.  To see if it's on right
> now, run    service sshd status
> 
> If it's on it will say something like
> sshd (pid 3271 1499) is running...
> 
> If it's not on, then run    service sshd start


Quick mini script that gives you shorter service commands:
sstatus  sshd   = service sshd status
sstart   sshd   = service sshd start
srestart sshd   = service sshd restart
sstop    sshd   = service sshd stop

#########################Cut Here ######################################
#!/bin/bash

name=`basename $0`
action=${name#s}

if  [ $# -ne 1 ] ; then
	echo "${action}s the named service"
	echo "Usage: $name <service name>"
	exit
fi
/sbin/service $1 $action

###################### END CUT #########################################

To Install:
Copy/paste the above text segment into a file in one of your bin
directories, I suggest /usr/local/bin.  name the file "sstart"
make sstart executable 
chmod +x sstart
then create symbolic links to sstart named srestart sstop sstatus

ln -s srestart  sstart
ln -s sstop  sstart
ln -s sstatus  sstart


-- 
Linux/Open Source:  Your infrastructure belongs to you, free, forever.
Idealism:  "Realism applied over a longer time period"
http://www.scaled.com/projects/tierone/
http://kinz.org
http://www.fedoratracker.org http://www.fedorafaq.org
http://www.fedoranews.org
Jeff Kinz, Emergent Research, Hudson, MA.




More information about the Redhat-install-list mailing list