Author Topic: Working SSH client  (Read 10910 times)

Offline davorin

  • Enthusiast Member
  • ***
  • Posts: 63
  • new to the forums
Working SSH client
« on: May 18, 2016, 03:08:24 AM »
Does someone know a working SSH client for OS9?

Latest MacSSH throws errors as it can negotiate a secure connection for example to a Debian 8 or FreeBSD 10 system.


Offline Mat

  • Platinum Member
  • *****
  • Posts: 644
Re: Working SSH client
« Reply #1 on: May 18, 2016, 04:35:04 AM »
I don´t face any problems with MacSSH PPC Version 2.1fc3, connecting to 3 years old Lubuntu and latest Debian Kernel Servers.

Did you create a keypair, and select the proper Encryption, Authentication and Compression methods?

Offline davorin

  • Enthusiast Member
  • ***
  • Posts: 63
  • new to the forums
Re: Working SSH client
« Reply #2 on: May 18, 2016, 06:31:25 AM »
So you're saying MacSSH won't let me do ssh connection without installing a public key on the SSH server?


Copied now testwise the exported public key on my local Debian machine...tried all SSH2 settings..but getting always:

Code: [Select]
lsh: handle_connection: Received packet of type 20 (KEXINIT)
lsh: Received KEXINIT message. Key exchange initated.
lsh: keyexchange.c:209: Unknown: Raising exception No common key exchange method.
 (type 4096), using handler installed by connection.c:282: Unknown
lsh: Protocol error: No common key exchange method.

Offline Mat

  • Platinum Member
  • *****
  • Posts: 644
Re: Working SSH client
« Reply #3 on: May 18, 2016, 06:36:03 AM »
So you're saying MacSSH won't let me do ssh connection without installing a public key on the SSH server?
No. I am saying that MacSSH client needs a locally newly created keypair once for all later SS2 connections.
See the QuickStart document provided with MacSSH.

Sadly I cannot help you with further advices as I am no ssh professional. I just can use MacSSH without problems and latest Linux kernels.

Offline Protools5LEGuy

  • Global Moderator
  • Platinum Member
  • *****
  • Posts: 2750
Re: Working SSH client
« Reply #4 on: May 18, 2016, 06:53:24 PM »
SSH is Chinese to me. But just in case:

https://sourceforge.net/projects/macssh/

SSH2 client for MacOS before X, based on BetterTelnet, lsh and GUSI.

http://saf.bio.caltech.edu/macssh_instruct.html

http://www.club.cc.cmu.edu/~rbraun/macssh/




Looking for MacOS 9.2.4

Offline MacNewbie

  • Valued Member
  • **
  • Posts: 19
  • New Member
Re: Working SSH client
« Reply #5 on: April 09, 2018, 10:06:44 PM »
Does someone know a working SSH client for OS9?

Latest MacSSH throws errors as it can negotiate a secure connection for example to a Debian 8 or FreeBSD 10 system.

I found the fix for this...

In OpenSSH 6.7 and later, certain ciphers (methods of encrypting) are considered less-desirable and possibly able to be compromised, so they are disabled by default.

Adding the following 2 lines to /etc/ssh/sshd_config (or wherever your sshd_config file lives), fixed the problem and let me log in:

KexAlgorithms diffie-hellman-group1-sha1,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1

Ciphers 3des-cbc,blowfish-cbc,cast128-cbc,arcfour,arcfour128,arcfour256,aes128-cbc,aes192-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],[email protected]

Note, there are no line breaks, just 2 very long lines.

Don't forget to restart sshd after, in order to restart and then test this config.

Offline ovalking

  • Gold Member
  • *****
  • Posts: 210
  • new to the forums
Re: Working SSH client
« Reply #6 on: April 10, 2018, 01:07:29 AM »
I've also have trouble with MacSSH 2.1fc3.
I need to connect to a bunch of remote routers but have never been able to make a connection from a Mac.
Tried all sorts of settings, and the generate keys thing.

Usual error message is:
lsh: Protocol error: Algorithm negotiation failed.

I don't have a file called sshd_config anywhere.

I can connect fine using Putty on Windows (without playing with any settings).

Offline MacNewbie

  • Valued Member
  • **
  • Posts: 19
  • New Member
Re: Working SSH client
« Reply #7 on: April 10, 2018, 01:14:14 AM »
I've also have trouble with MacSSH 2.1fc3.
I need to connect to a bunch of remote routers but have never been able to make a connection from a Mac.
Tried all sorts of settings, and the generate keys thing.

Usual error message is:
lsh: Protocol error: Algorithm negotiation failed.

I don't have a file called sshd_config anywhere.

I can connect fine using Putty on Windows (without playing with any settings).

The sshd_config file is on the remote Linux server. 

There may or may not be a config file option when dealing with routers; depends on the specific router. Here is an overview for some Cisco routers, but probably even this is not defnitive:  https://www.cisco.com/c/en/us/support/docs/security-vpn/secure-shell-ssh/4145-ssh.html

Was thinking of installing Virtual PC with a command line Linux just to have it around. Not sure if I will do that.

Offline ovalking

  • Gold Member
  • *****
  • Posts: 210
  • new to the forums
Re: Working SSH client
« Reply #8 on: April 10, 2018, 01:02:11 PM »
Thanks for bringing this subject up, as it encouraged me to revisit my problem.
And I found a solution!
Trick was to turn off compression.
The (confusing) keys don't seem to be needed.

Offline V.Yakob

  • Enthusiast Member
  • ***
  • Posts: 76
  • Mac User
Re: Working SSH client
« Reply #9 on: November 12, 2022, 11:41:45 AM »
Quite by chance I came across a modern application for "Classic" Macs -- ssheven.
Does not require special server settings, at least it connects to macOS 13.0.1. Cool!
PPC — PM 8100/80, PM 9600/300, PM G3 Minitower (Rev. C), PM G3 B&W (Rev. B), PM G4 Quicksilver (2002), PM G4 MDD (2003), PM G5 (Late 2005).
Intel — Mac mini (mid 2010), iMac 5k (2017), Mac mini (2018).
AppleSilicon — Mac mini (2020), Mac Studio M2 Max + Apple Studio Display.

Online Knezzen

  • Administrator
  • Platinum Member
  • *****
  • Posts: 975
  • Pro Tools Addict!
    • Macintosh Garden
Re: Working SSH client
« Reply #10 on: December 03, 2022, 02:03:39 AM »
I'm an avid user of ssheven as well. Wonderful client and a wonderful addition to the platform! :)
Pro Tools addict and admin at Macintosh Garden, Mac OS 9 Lives! and System 7 Today