Report this

What is the reason for this report?

SSH Login bash error ssh bash login

Posted on January 4, 2016

SSH bash hatasıyla karşılaşan arkadaşlar için ssh bash hatası çözümü… Sitemize putty ile bağlanmaya çalıştığımızda -bash-3.2$ bash ve benzer bir hata alıyorsak alttaki yolları izleyerek sorunu çözmemiz mümkündür. Açtığınız hesaba giriş yaptıktan sonra .bashrc ve .bash_profile dosyalarını oluşturarak içeriğine aşağıdaki kodları yapıştırmanız probleminizi giderecektir. Kısaca alttaki komutları kullanarak sorunu çözebiliriz.

SSH ile login olduktan sonra sırasıyla;

pico .bashrc İçine yapıştırın

Source global definitions

if [ -f /etc/bashrc ]; then . /etc/bashrc fi

User specific aliases and functions

Daha sonra;

pico .bash_profile İçine yapıştırın;

Get the aliases and functions

if [ -f ~/.bashrc ]; then . ~/.bashrc fi SSH ‘dan çıkıp tekrar girin.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Ben soru sormadım SSH Login sonrası bash hatası çözümünü paylaştım

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.