mirror of
https://github.com/Pardus-Ahtapot/MYS.git
synced 2026-04-26 01:55:55 +03:00
[GH-ISSUE #116] base rolünün sebep olduğu ssh karakter hatası #23
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/MYS#23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @selinakbuga on GitHub (Feb 25, 2021).
Original GitHub issue: https://github.com/Pardus-Ahtapot/MYS/issues/116
base rolü çalıştırıldıktan sonra, ssh bağlantılarında [tab] tuşu ile otomatik komut tamamlamada dil karakter uyarısı ekrana basmaktadır. Ekrana basılan uyarı aşağıdadır. Sunucu ile bağlandığınız istemcinin yerel ayarları farklı olmasından bu uyarı ile karşılaşılmakadır.
ssh vcs.-bash: warning: setlocale: LC_CTYPE: cannot change locale (tr_TR.UTF-8)
-bash: warning: setlocale: LC_CTYPE: cannot change locale (tr_TR.UTF-8)
ahtapot.org.tr
base rolü /etc/ssh/sshd_config dosyasında AcceptEnv LANG LC_* konfigürasyonunu girmektedir. sunucusunun istemcinin yerel ayar değişkenlerini kabul etmesi satırıdır. /etc/ssh/sshd_config dosyasında bu satır yorum satırı yapılabilir veya .bashrc de LC_ALL=C satırı eklenebilir.
nano /etc/ssh/sshd_config
#AcceptEnv LANG LC_*
bashrc'ye alttaki satır eklenmesi,
nano ~/.bashrc
export LC_ALL=C