Reply
Thread Tools
Posts: 1,289 | Thanked: 4,318 times | Joined on Oct 2014
#11
[nemo@Jolla ~]$ ssh-pam-access-daemon
[D] DBusWatcher:BusWatcher:17 - DBusWatcher constructor

No more output, even when connecting with ssh, which still just connects with nemo/password as usual ...
 

The Following User Says Thank You to nieldk For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#12
ls -la /usr/bin/ssh-pam-access-control
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following User Says Thank You to coderus For This Useful Post:
Posts: 1,289 | Thanked: 4,318 times | Joined on Oct 2014
#13
-rwxr-xr-x 1 root root 15032 Feb 8 01:16 /usr/bin/ssh-pam-access-control
 

The Following User Says Thank You to nieldk For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#14
what happen if you running ssh-pam-access-daemon in first teminal window and running ssh-pam-access-control in second one?
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following User Says Thank You to coderus For This Useful Post:
Posts: 1,289 | Thanked: 4,318 times | Joined on Oct 2014
#15
[nemo@Jolla ~]$ ssh-pam-access-daemon
[D] DBusWatcher:BusWatcher:17 - DBusWatcher constructor
[D] DBusWatcher:nRequestAccess:53 - onRequestAccess "org.coderus.pam.sshd0"
[D] DBusWatcher:nRequestAccess:54 - "" ""
[D] DBusWatcher:nRequestAccess:55 - "" ""
[D] DBusWatcher:nRequestAccess:56 - "" ""
[D] DBusWatcher::showDialog:144 - create dialog
[D] QWaylandEglClientBufferIntegration::QWaylandEglCli entBufferIntegration:62 - Using Wayland-EGL
[D] MDesktopEntryPrivate::MDesktopEntryPrivate:126 - Specified Desktop file does not exist "/usr/share/applications/ssh-pam-access-daemon.desktop"
[D] DBusWatcher::showDialog:146 - connect events
[D] DBusWatcher::showDialog:149 - set context
[D] DBusWatcher::showDialog:151 - set source
[W] QQmlImportDatabase::registerPluginTypes:1875 - Module 'Sailfish.Silica' does not contain a module identifier directive - it cannot be protected from external registrations.
[D] DBusWatcher::showDialog:160 - show dialog
[D] DeclarativeCoverWindow:eclarativeCoverWindow:63 - DeclarativeCoverWindow: I have a default alpha buffer
 

The Following User Says Thank You to nieldk For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#16
seems ssh-pam-access-control is really not being called from pam
try to track yourself what's wrong
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following User Says Thank You to coderus For This Useful Post:
Posts: 1,289 | Thanked: 4,318 times | Joined on Oct 2014
#17
Yeah, doing it "manually" the window and notification pops up on device.
However, it does complain about missing desktop file, and sailfish.silica missing module identifier.
That part, I assume is your work
 

The Following User Says Thank You to nieldk For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#18
Originally Posted by nieldk View Post
Yeah, doing it "manually" the window and notification pops up on device.
However, it does complain about missing desktop file, and sailfish.silica missing module identifier.
That part, I assume is your work
fortunately it Jolla's work, not mine
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following User Says Thank You to coderus For This Useful Post:
Posts: 84 | Thanked: 146 times | Joined on Feb 2015
#19
I installed the application through Warehouse and rebooted.

Developer mode with remote SSH is on.

I have been able to successfully connect via SSH previously to installing this app.

I cannot connect via SSH either as nemo or as root. I know for sure that my password is correct. I get the message

Code:
nemo@192.168.1.157's password: 
Permission denied, please try again.
and on my third try I get

Code:
nemo@192.168.1.157's password: 
Permission denied (publickey,password).
I do not have the settings in (System -> Security -> SSH) as "SSH" does not exist.

When attempting to connect via SSH nothing pops up on the device asking for confirmation.

I checked the status of pam:

Code:
[root@Jolla]$ systemctl --user status ssh-pam-access-control
ssh-pam-access-control.service - SSH Pam access control
Loaded: loaded (/usr/lib/systemd/user/ssh-pam-access-control.service; disabled)
Active: active (running) since Пн. 2015-02-09 11:53:53 CET; 12min ago
Main PID: 1191 (ssh-pam-access-)
CGroup: /user.slice/user-100000.slice/user@100000.service/ssh-pam-access-control.service
└─1191 /usr/bin/ssh-pam-access-daemon
Further:

Code:
[nemo@Jolla ~]$ ls -la /usr/bin/ssh-pam-access-control
-rwxr-xr-x 1 root root 15032 2015-02-07 18:53 /usr/bin/ssh-pam-access-control
Trying to run ssh-pam-access-daemon:

Code:
[nemo@Jolla ~]$ ssh-pam-access-daemon
[D] DBusWatcher:BusWatcher:19 - DBusWatcher constructor 
<and it hangs here>
Any suggestions on what to do to at least regain SSH access, or ideally get the application to work?

Unfortunately I am a biologist, not a programmer, so I would require some guidance.
 
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#20
show output of [cat /etc/pam.d/sshd]
and do [systemctl --user start ssh-pam-access-control], as service is not started.
__________________
Telegram | Openrepos | GitHub | Revolut donations
 
Reply

Tags
sailfish os, ssh access


 
Forum Jump


All times are GMT. The time now is 11:59.