replacing /bin/bash with my login shell

Sudarshan Soma sudarshan12s at
Wed Dec 20 05:47:43 AEDT 2017

Hi ,
I replaced one of the user login shell to /bin/myshell

/bin/myshell is just a custom shell,
It is as simple as this :

char user[128];
    printf(" Welcome to CLI \n");
scanf("%s", user);
    printf(" Exiting CLI %s  \n", user);

Once I put my shell after changing /etc/passwd , scp doesnt work, it gets

testuser:x:1000:1000:Linux User,,,:/home/test:/bin/myshell

scp  testuser at . is stuck, while ssh login works ,
please suggest, if i am doing something wrong.


More information about the openssh-unix-dev mailing list