× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Ok the admin portion of https://www.concurrency.com/blog/may-2019/key-based-authentication-for-openssh-on-windows
did the trick.

Windows:
Copied C:\Users\rob\.ssh\authorized_keys to C:\ProgramData\ssh\administrators_authorized_keys
PS C:\WINDOWS\system32> $acl = Get-Acl C:\ProgramData\ssh\administrators_authorized_keys
PS C:\WINDOWS\system32> $acl.SetAccessRuleProtection($true, $false)
PS C:\WINDOWS\system32> $administratorsRule = New-Object system.security.accesscontrol.filesystemaccessrule("Administrators","FullControl","Allow")
PS C:\WINDOWS\system32> $systemRule = New-Object system.security.accesscontrol.filesystemaccessrule("SYSTEM","FullControl","Allow")
PS C:\WINDOWS\system32> $acl.SetAccessRule($administratorsRule)
PS C:\WINDOWS\system32> $acl.SetAccessRule($systemRule)
PS C:\WINDOWS\system32> $acl | Set-Acl

IBM i:
ssh gdl57 'dir \users\rob\*.* >\users\rob\diroutput2.txt'
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/home/ROB/.ssh/rob_gdisys' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "/home/ROB/.ssh/rob_gdisys": bad permissions
rob@gdl57.dekko-1's password:

Exited that.
https://stackoverflow.com/questions/9270734/ssh-permissions-are-too-open-error

chmod 600 /home/ROB/.ssh/rob_gdisys
$
ssh gdl57 'dir \users\rob\*.* >\users\rob\diroutput2.txt'
$

Success!
Thank you everyone!


Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2024 by midrange.com 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.