The user name does not appear when connecting to the user via SSH. In addition, the folder I went to with the "cd" command was added to the end of the user, and now it does not appear. Have you had this problem?
image:screenshot
The user name does not appear when connecting to the user via SSH. In addition, the folder I went to with the "cd" command was added to the end of the user, and now it does not appear. Have you had this problem?
image:screenshot
Firstly Thank you for all helpers. My English is not good enough sorry for this. I have solved my problem by changing SSH Access method on user editing page in VestaPanel. I have closed SSH access by select nologin and saved. Then I set bash again and saved thus my problem has solved.
Image: VestaCP related field SS
Image2: Putty SSH connection last state
my .bashrc file:
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
# User specific aliases and functions
cd /home/user123/web/public_html/en/
shows it to [[email protected] en]-sh-4.2
? Issh
the expected shell in the first place? or were you expecting (e.g.)bash
? It's still not clear what you are expecting instead of what.echo "$SHELL"
?grep '^peskirpiko:' /etc/passwd | cut -d : -f 7
?