good ssh client?

good ssh client?

Post by ivo wel » Tue, 03 Jun 2003 02:58:32



I have some thoroughly trusted computers running linux, from which I
would like to ssh to another server on a regular basis.

my problems is that I would like the trusted computers to just store
my passwords and pass them along, like "ssh -l user -p password
server"  is not supported.  my second problem is that my service
provider will drop the connection if there is more than 5 minutes
inactivity.  so, I need the client to send NUL characters every so
often.  securecrt does this, but unfortunately, it is not available on
mandrake linux 9.1.

are there any recommended solutions?  help appreciated.

sincerely,

/iaw

 
 
 

good ssh client?

Post by Kasper Dupon » Tue, 03 Jun 2003 06:38:17



> I have some thoroughly trusted computers running linux, from which I
> would like to ssh to another server on a regular basis.

> my problems is that I would like the trusted computers to just store
> my passwords and pass them along, like "ssh -l user -p password
> server"  is not supported.

You should use a DSA key instead. Assuming you are using protocol
version 2, you can create the key by typing: "ssh-keygen -t dsa"
on the client. Then you copy the single line from the file
~/.ssh/id_dsa.pub on the client to the file ~/.ssh/authorized_keys
on the server.

Quote:> my second problem is that my service
> provider will drop the connection if there is more than 5 minutes
> inactivity.  so, I need the client to send NUL characters every so
> often.  securecrt does this, but unfortunately, it is not available on
> mandrake linux 9.1.

Rather than keeping the tty busy, you could as well keep a TCP
forwarding busy. Personally I always use X forwarding and have
xload running over my ssh connection, that will keep it busy. But
that is just my personal preference.

--
Kasper Dupont -- der bruger for meget tid p? usenet.

for(_=52;_;(_%5)||(_/=5),(_%5)&&(_-=2))putchar(_);

 
 
 

good ssh client?

Post by w.. » Tue, 03 Jun 2003 09:16:13



> my second problem is that my service
> provider will drop the connection if there is more than 5 minutes
> inactivity.  so, I need the client to send NUL characters every so

the simplest thing to do here is probably to add:

ping -i 270 some.external.host > /dev/null 2>&1 &

to /etc/ppp/ip-up or something like that. where "some.external.host" would
probably preferably be a system at your isp. this will send a ping packet
down the link every 4-1/2 minutes. and add:

killall ping

to /etc/ppp/ip-down

this is a very crude way of doing it, and is really only an example of a
possible approach, but it should work. and you can maybe figure out a more
sophisticated way to do the same thing.

will

 
 
 

good ssh client?

Post by Kasper Dupon » Tue, 03 Jun 2003 14:56:33




> > my second problem is that my service
> > provider will drop the connection if there is more than 5 minutes
> > inactivity.  so, I need the client to send NUL characters every so

> the simplest thing to do here is probably to add:

> ping -i 270 some.external.host > /dev/null 2>&1 &

If it is the entire IP connection that is terminated, that
approach might work. But I know there are some ISPs that will
terminate individual TCP connections if they are usused. In
that case ping would not help.

Quote:

> to /etc/ppp/ip-up or something like that. where "some.external.host" would
> probably preferably be a system at your isp. this will send a ping packet
> down the link every 4-1/2 minutes. and add:

I don't see ppp mentioned anywhere.

--
Kasper Dupont -- der bruger for meget tid p? usenet.

for(_=52;_;(_%5)||(_/=5),(_%5)&&(_-=2))putchar(_);

 
 
 

good ssh client?

Post by grobbeltj » Wed, 04 Jun 2003 00:56:40



> my problems is that I would like the trusted computers to just store
> my passwords and pass them along, like "ssh -l user -p password
> server"  is not supported.  

take a look at ssh-agent. in combination with keys it might
do what you want.

Quote:> my second problem is that my service
> provider will drop the connection if there is more than 5 minutes
> inactivity.  so, I need the client to send NUL characters every so
> often.  securecrt does this, but unfortunately, it is not available on
> mandrake linux 9.1.

the man page for ssh_config suggests using KeepAlive and ProtocolKeepAlives.
did you try that?

have fun!
grobbeltje.

 
 
 

1. Good ssh server/client for Linux/NT

I have a brand-spanking-new Red Hat Linux 6.1 server running Apache and
almost nothing else.  I need to get ssh set up, but I've received conflicting
advice concerning which version to use, open-source vs commerical, etc.

Where can I get the client and server software (.rpm packages would be
nice but not necessary) to allow a Linux or NT client to connect to a Linux
server?  Are there free open-source versions available?

TIA.

--
Phil Geiger

2. zsh-2.6-alpha3

3. SSH client disconnects when performing certain commandline utilities (AIX 4.3.3) - SSH of Firewall problem ?

4. Installing Intel Ether Express/10+ (ISA)

5. F-Secure SSH Client (Win) cannot connect to Solaris 9 SSH

6. Laserwriter 12/640 PS driver needed

7. can ssh-agent work between ssh-2.3 and ssh-3.5

8. problems with linux and windows

9. ssh over http proxy... the good ol' story

10. Secure VPN/SSH with GOOD terminal and tunsten - Solution found...sorta

11. What is the most popular ssh or ssh2 and X based ftp client?

12. Can't connect ssh-1.2.31 X client to openssh-2.9.9p2 server

13. SSH 2.0 client?