SSH connection “This account is currently not available”

Clash Royale CLAN TAG#URR8PPP
I tried to connect at a SSH server in 3 different ways, but nothing works:
using putty - after I enter my password the putty window automatically closed, and in the log file there is: "This account is currently not available."
using Windows powershell - I receive the following message:
Last login: Mon Feb ......
This account is currently not available.
Connection to xx.xx closed.- using Ubuntu terminal I receive the same message as in case of Windows powershell.
In windows I think that I'm on sftp, but I don't know how to change to shell.
I also found this link, but I cannot find the mentioned option in Windows.
In Ubuntu, my user is on /bin/bash.
How to solve this problem?
ssh login accounts
add a comment |
I tried to connect at a SSH server in 3 different ways, but nothing works:
using putty - after I enter my password the putty window automatically closed, and in the log file there is: "This account is currently not available."
using Windows powershell - I receive the following message:
Last login: Mon Feb ......
This account is currently not available.
Connection to xx.xx closed.- using Ubuntu terminal I receive the same message as in case of Windows powershell.
In windows I think that I'm on sftp, but I don't know how to change to shell.
I also found this link, but I cannot find the mentioned option in Windows.
In Ubuntu, my user is on /bin/bash.
How to solve this problem?
ssh login accounts
Hello and welcome to the U&L stack exchange site! Please review the Help Center to get information on how to best post to this site. To get to your question, please edit your post to include additional context Can you please verify what login shell the user you logging in is using, e.g. under/etc/passwordis the user listed with a/bin/falseor/sbin/nologinshell? Thank you!
– kemotep
Feb 4 at 18:56
add a comment |
I tried to connect at a SSH server in 3 different ways, but nothing works:
using putty - after I enter my password the putty window automatically closed, and in the log file there is: "This account is currently not available."
using Windows powershell - I receive the following message:
Last login: Mon Feb ......
This account is currently not available.
Connection to xx.xx closed.- using Ubuntu terminal I receive the same message as in case of Windows powershell.
In windows I think that I'm on sftp, but I don't know how to change to shell.
I also found this link, but I cannot find the mentioned option in Windows.
In Ubuntu, my user is on /bin/bash.
How to solve this problem?
ssh login accounts
I tried to connect at a SSH server in 3 different ways, but nothing works:
using putty - after I enter my password the putty window automatically closed, and in the log file there is: "This account is currently not available."
using Windows powershell - I receive the following message:
Last login: Mon Feb ......
This account is currently not available.
Connection to xx.xx closed.- using Ubuntu terminal I receive the same message as in case of Windows powershell.
In windows I think that I'm on sftp, but I don't know how to change to shell.
I also found this link, but I cannot find the mentioned option in Windows.
In Ubuntu, my user is on /bin/bash.
How to solve this problem?
ssh login accounts
ssh login accounts
edited Feb 4 at 21:55
Ouki
3,85421425
3,85421425
asked Feb 4 at 18:27
user335152user335152
6
6
Hello and welcome to the U&L stack exchange site! Please review the Help Center to get information on how to best post to this site. To get to your question, please edit your post to include additional context Can you please verify what login shell the user you logging in is using, e.g. under/etc/passwordis the user listed with a/bin/falseor/sbin/nologinshell? Thank you!
– kemotep
Feb 4 at 18:56
add a comment |
Hello and welcome to the U&L stack exchange site! Please review the Help Center to get information on how to best post to this site. To get to your question, please edit your post to include additional context Can you please verify what login shell the user you logging in is using, e.g. under/etc/passwordis the user listed with a/bin/falseor/sbin/nologinshell? Thank you!
– kemotep
Feb 4 at 18:56
Hello and welcome to the U&L stack exchange site! Please review the Help Center to get information on how to best post to this site. To get to your question, please edit your post to include additional context Can you please verify what login shell the user you logging in is using, e.g. under
/etc/password is the user listed with a /bin/false or /sbin/nologin shell? Thank you!– kemotep
Feb 4 at 18:56
Hello and welcome to the U&L stack exchange site! Please review the Help Center to get information on how to best post to this site. To get to your question, please edit your post to include additional context Can you please verify what login shell the user you logging in is using, e.g. under
/etc/password is the user listed with a /bin/false or /sbin/nologin shell? Thank you!– kemotep
Feb 4 at 18:56
add a comment |
1 Answer
1
active
oldest
votes
Chances are, the shell for the account to which you're trying to log in has been set to /usr/sbin/nologin, which outputs that text and returns an exit code of 1:
$ /usr/sbin/nologin
This account is currently not available.
$ echo $?
1
Since this 'shell' is not interactive, your connection immediately closes when its execution concludes.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f498648%2fssh-connection-this-account-is-currently-not-available%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Chances are, the shell for the account to which you're trying to log in has been set to /usr/sbin/nologin, which outputs that text and returns an exit code of 1:
$ /usr/sbin/nologin
This account is currently not available.
$ echo $?
1
Since this 'shell' is not interactive, your connection immediately closes when its execution concludes.
add a comment |
Chances are, the shell for the account to which you're trying to log in has been set to /usr/sbin/nologin, which outputs that text and returns an exit code of 1:
$ /usr/sbin/nologin
This account is currently not available.
$ echo $?
1
Since this 'shell' is not interactive, your connection immediately closes when its execution concludes.
add a comment |
Chances are, the shell for the account to which you're trying to log in has been set to /usr/sbin/nologin, which outputs that text and returns an exit code of 1:
$ /usr/sbin/nologin
This account is currently not available.
$ echo $?
1
Since this 'shell' is not interactive, your connection immediately closes when its execution concludes.
Chances are, the shell for the account to which you're trying to log in has been set to /usr/sbin/nologin, which outputs that text and returns an exit code of 1:
$ /usr/sbin/nologin
This account is currently not available.
$ echo $?
1
Since this 'shell' is not interactive, your connection immediately closes when its execution concludes.
answered Feb 4 at 18:30
DopeGhotiDopeGhoti
45.8k55988
45.8k55988
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f498648%2fssh-connection-this-account-is-currently-not-available%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Hello and welcome to the U&L stack exchange site! Please review the Help Center to get information on how to best post to this site. To get to your question, please edit your post to include additional context Can you please verify what login shell the user you logging in is using, e.g. under
/etc/passwordis the user listed with a/bin/falseor/sbin/nologinshell? Thank you!– kemotep
Feb 4 at 18:56