{"action":"closed","issue":{"url":"https://api.github.com/repos/shellinabox/shellinabox/issues/310","labels_url":"https://api.github.com/repos/shellinabox/shellinabox/issues/310/labels{/name}","comments_url":"https://api.github.com/repos/shellinabox/shellinabox/issues/310/comments","events_url":"https://api.github.com/repos/shellinabox/shellinabox/issues/310/events","html_url":"https://github.com/shellinabox/shellinabox/issues/310","id":77964449,"number":310,"title":"Grand Password Authentication only for shellinabox","user":{"login":"clement-escolano","id":11637509,"avatar_url":"https://avatars.githubusercontent.com/u/11637509?v=3","gravatar_id":"","url":"https://api.github.com/users/clement-escolano","html_url":"https://github.com/clement-escolano","followers_url":"https://api.github.com/users/clement-escolano/followers","following_url":"https://api.github.com/users/clement-escolano/following{/other_user}","gists_url":"https://api.github.com/users/clement-escolano/gists{/gist_id}","starred_url":"https://api.github.com/users/clement-escolano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clement-escolano/subscriptions","organizations_url":"https://api.github.com/users/clement-escolano/orgs","repos_url":"https://api.github.com/users/clement-escolano/repos","events_url":"https://api.github.com/users/clement-escolano/events{/privacy}","received_events_url":"https://api.github.com/users/clement-escolano/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-19T06:52:56Z","updated_at":"2015-05-19T07:10:45Z","closed_at":"2015-05-19T07:10:45Z","body":"Hello everyone,\r\n\r\nI discovered shellinabox and I am thankful for that, it's great so far !\r\nThough, I usually rsa keys to login (it is much safer than clear text passwords) but it is obviously not working with shellinabox.\r\nI set settings in ssh to accept password authentication again in order to use shellinabox but I would like, if possible, to only grand password authentication when I login inside shellinabox.\r\n\r\nI looked on the internet and it appears that it can be possible to to do that with specific IP address(es). So I tried localhost, 127/24 but so far didn't work out. What is strange is that when I type `last` command in a shell, I see that the IP address that shellinabox uses is the hostname. So I tried to replace the IP address by the hostname, with and without quotes, but still didn't work out.\r\n\r\nDo you guys have any idea about how to do it ?\r\n\r\nThanks !\r\n\r\nClement"}}