Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't open file 'ssh-ldap-pubkey' No such file or directory
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jhon987
Apprentice
Apprentice


Joined: 18 Nov 2013
Posts: 297

PostPosted: Thu Aug 09, 2018 1:54 pm    Post subject: can't open file 'ssh-ldap-pubkey' No such file or directory Reply with quote

Hi,
on my VPS I use ssh with ldap (I think it's for sftp connections, I actually already forgot what ldap is for), anyways, after seeing the latest news regards it, I finally upgraded to openSSH 7.7 and followed the SSH/LDAP migration guide (https://wiki.gentoo.org/wiki/SSH/LDAP_migration).

It says: "Verify that your configuration is working" and both commands under it yields the following results:
/usr/lib/python-exec/python3.6/python: can't open file 'ssh-ldap-pubkey': [Errno 2] No such file or directory

Edit: I installed sys-auth/nss_ldap as per https://forums.gentoo.org/viewtopic-t-1085022.html advice but still same result

Note: creating the directory manually inside the user folder still outputs error:
Code:
can't find '__main__' module in 'ssh-ldap-pubkey'

can someone please assist?

Edit: Well, finally I checked whether I used ldap for sftp connection but it seems it works fine without it. So, it looks like I have all the basic functioning I needed
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum