Quantcast
Channel: Putty fatal error after I enter CLI? - Server Fault
Viewing all articles
Browse latest Browse all 2

Putty fatal error after I enter CLI?

$
0
0

I am new to the whole virtual linux world. And this particular problem is strange and after a day of googling I find myself again on serverfault so thanks for your time!

I created a linux ec2 instance via amazon. I was able to successfully connect to the instance with Filezilla and Putty before entering any CLI.

What I was trying to do:

My only login was ec2-user and I wanted access to the /var/www/html which is owned by user root.

So I connected via Putty and typed the following

 sudo su- chown -R ec2-user /var chmod -R 755 /var

Then I disconnected.

Now Putty and Filezilla will refuse my connection and throw errors when I try.

What went wrong?


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>