Trying this from IBM i to my Windows 10 PC before dinging the server people.

I following the instructions at:
I used the method of launching Power Shell as an administrator.
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~
Get-WindowsCapability -Online | ? Name -like 'OpenSSH*'
Name : OpenSSH.Client~~~~
State : Installed
Name : OpenSSH.Server~~~~
State : Installed
Start-Service sshd
Set-Service -Name sshd -StartupType 'Automatic'
Get-NetFirewallRule -Name *ssh*
Name : OpenSSH-Server-In-TCP
DisplayName : OpenSSH SSH Server (sshd)
Description : Inbound rule for OpenSSH SSH Server (sshd)
DisplayGroup : OpenSSH Server
Group : OpenSSH Server
Enabled : True
Profile : Any
Platform : {}
Direction : Inbound
Action : Allow
EdgeTraversalPolicy : Block
LooseSourceMapping : False
LocalOnlyMapping : False
Owner :
PrimaryStatus : OK
Status : The rule was parsed successfully from the store. (65536)
EnforcementStatus : NotApplicable
PolicyStoreSource : PersistentStore
PolicyStoreSourceType : Local

Then from my IBM i I ran:
mkdir /home/ROB
It already exists
chmod 755 /home/ROB
ssh-keygen -t rsa -N ""
This created two files in /home/ROB
I am under the impression that these files should have been created in the /users/ROB/.ssh directory and not in /users/ROB.
Home directory . . . . . . . . . . . . . . : /home/ROB

I copied to gdl57 C:\Users\rob\.ssh Then I copied it to authorized.keys in that same directory. authorized.keys did not previously exist.

Back on the i I ran
ssh -T rob@gdl57.dekko-1
The first time I got the usual
The authenticity of host 'somehost (x.x.x.x)' can't be established.
. key fingerprint is RSA.
Are you sure you want to continue connecting (yes/no)?
I took the yes option
/home/ROB/.ssh/known_hosts now has
added to it.
I was able to successfully run
dir \users\rob\*.* >\users\rob\testoutput.txt
I checked for the existence of the testoutput.txt file on the PC and it's there.

ssh -T rob@gdl57.dekko-1
still keeps asking me for the password.

So I tried this:
COPY OBJ('/home/ROB/rob_gdisys*') TODIR('/home/ROB/.ssh')
2 objects copied.
But I still keep getting prompted for the password.

On the PC I tried
Stop-Service sshd
Start-Service sshd
But I still keep getting prompted for the password.

Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.