[GH-ISSUE #1047] SSH login: Permission denied error #713

Closed
opened 2026-05-05 06:29:49 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @GiantCrocodile on GitHub (Jan 13, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1047

  1. start something like your browser in Firejail
  2. end Firejail but keep same terminal
  3. do 'ssh @'

When you enter username and password you get a Permission Denied Error. Once I had also a Permission Denied Error (publickey, password).

Originally created by @GiantCrocodile on GitHub (Jan 13, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1047 1. start something like your browser in Firejail 2. end Firejail but keep same terminal 3. do 'ssh <user>@<your-server-ip>' When you enter username and password you get a Permission Denied Error. Once I had also a Permission Denied Error (publickey, password).
gitea-mirror 2026-05-05 06:29:49 -06:00
Author
Owner

@netblue30 commented on GitHub (Jan 17, 2017):

This could happen if your terminal is running in a sandbox (the sandbox disables all ssh encryption keys). To see if your terminal is inside a sandbox, run "ls /proc". What do you mean by "end Firejail but keep same terminal"? Give me some more data, how do you run the whole thing?

<!-- gh-comment-id:273192913 --> @netblue30 commented on GitHub (Jan 17, 2017): This could happen if your terminal is running in a sandbox (the sandbox disables all ssh encryption keys). To see if your terminal is inside a sandbox, run "ls /proc". What do you mean by "end Firejail but keep same terminal"? Give me some more data, how do you run the whole thing?
Author
Owner

@GiantCrocodile commented on GitHub (Jan 17, 2017):

Your answer sounds like I triggered a bug in leaving the sandbox @netblue30. I did CTRL + C when I had a sandbox open so I close the sandboxed process (my browser) and stopped running Firejail. After that I expected my terminal in which I did run Firejail to be normal so I can use it with SSH without any problems.

I started Firejail without any special parameters, just 'firejail firefox'.

<!-- gh-comment-id:273235560 --> @GiantCrocodile commented on GitHub (Jan 17, 2017): Your answer sounds like I triggered a bug in leaving the sandbox @netblue30. I did CTRL + C when I had a sandbox open so I close the sandboxed process (my browser) and stopped running Firejail. After that I expected my terminal in which I did run Firejail to be normal so I can use it with SSH without any problems. I started Firejail without any special parameters, just 'firejail firefox'.
Author
Owner

@netblue30 commented on GitHub (Mar 27, 2017):

Cannot reproduce.

<!-- gh-comment-id:289605536 --> @netblue30 commented on GitHub (Mar 27, 2017): Cannot reproduce.
Author
Owner

@GiantCrocodile commented on GitHub (Mar 29, 2017):

Well as I saw this happening multiple times in issues now I don't think it is useful to say 'cannot reproduce' and to close the issue then without any more checking or fixing. If you don't know how to reproduce it - it would be useful to tell us how we can tell you what happens or to gather more information to make it reproducible for you. Otherwise the issue stays unresolved and makes it unusable for the users.

<!-- gh-comment-id:290063149 --> @GiantCrocodile commented on GitHub (Mar 29, 2017): Well as I saw this happening multiple times in issues now I don't think it is useful to say 'cannot reproduce' and to close the issue then without any more checking or fixing. If you don't know how to reproduce it - it would be useful to tell us how we can tell you what happens or to gather more information to make it reproducible for you. Otherwise the issue stays unresolved and makes it unusable for the users.
Author
Owner

@netblue30 commented on GitHub (Mar 29, 2017):

Yes, but you have to give me something to work with. What commands are you using exactly?

<!-- gh-comment-id:290097603 --> @netblue30 commented on GitHub (Mar 29, 2017): Yes, but you have to give me something to work with. What commands are you using exactly?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#713
No description provided.