I know that file /QOpenSys/QIBM/UserData/SC1/OpenSSH/etc/sshd_config (on 7.3) can be used to limit who can connect via SSH.
I use PuTTY, and I don't recall any config required when I first started using SSH.
-----Original Message-----
From: Rob Berendt [mailto:rob@xxxxxxxxx]
Sent: Thursday, November 14, 2019 4:11 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Using Putty to access IBM i
Ok, I hear all this stuff about how using qsHell and/or pase to process some things isn't quite as kosher as using a ssh client, such as putty. I think Scott Klement explained it with "Need for a "Real" Unix Terminal". I'm starting to accept that.
How does one set up your partition to get to it using a putty client?
I see that the webby "IBM Navigator for i" says that SSHD is started.
NETSTAT *CNN shows
F15 subset to port 22
Remote Remote Local Local
Address Port Address Port Type
* * 2##.##.##.## ssh *TCP
And the job is:
Current
Name User Number Type User
QP0ZSPWT QPGMR 622938 *BCH QPGMR
I use that address in my putty client on my PC. I get:
login as: rob
Pre-authentication banner message from server:
| Welcome! Please login.
End of banner message from server
Keyboard-interactive authentication prompts from server:
| password
| Password:
Enter in my password. That screen displays: End of keyboard-interactive prompts from server And I get a popup: Server refused to start a shell/command
I am using:
PuTTY
Release 0.71
Build platform: 64-bit x86 Windows
Compiler: clang 7.0.0 (tags/RELEASE_700/final), emulating Visual Studio 2013 / MSVC++ 12.0 (_MSC_VER=1800) Embedded HTML Help file: yes Source commit: abfc751c3ee7d57bf3f127a458c40bb4ca2b6996
(c) 1997-2019 Simon Tatham. All rights reserved.
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
As an Amazon Associate we earn from qualifying purchases.