hi
I am extremely !!! newbie in centos
I installed CentOS v5.11 for using my bot [posts tv stuff automatically] , the author insisted on v5.xx of CentOS
now I must use CentOS ,
first days was indeed HELLLLL , now its just hell !!
I am admin of a huge governmental company
I have a question
I installed CentOS 5.11 on windows 2012 Hyper-V as a vps and i gave the ip and everything works nice
for first time it was fine until I gave the vps to my admin to install bot and now I cant login using sFTP [flashfxp]
I disabled firewall in the last phase of installation of CentOS
and in password authentication I removed MD5 , kerb... and ... ticks and i enabled only the last item which says network login is enough [or something]
I checked and I saw
/etc/ssh/sshd_config
# PermitRootLogin yes
its still in comment
also port 22 is in comment
first ,please tell me how i can edit this file in terminal [hyper-v CentOS terminal]
because when I defined
vi /etc/ssh/sshd_config
now i cant even edit
[honestly I just saw even that "vi" thing , and now when i press Backspace for deleting the comment character from "# PermitRootLogin yes"
nothing happens !!
can you please save me from my misery? and tell me how I can use sFTP and not getting access deny?
if not then I must bring someone to fix it
I wish I learned some about linux
I even dont know how to edit sshd_config in terminal?
sFTP access denied for root user
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: sFTP access denied for root user
The commented entries are the default values.
You do not need to edit that file.
Ssh works out of the box on CentOS.
Ask your admin what he did to disable it.
You do not need to edit that file.
Ssh works out of the box on CentOS.
Ask your admin what he did to disable it.
Re: sFTP access denied for root user
To get the vi basics is very quick.
http://heather.cs.ucdavis.edu/~matloff/ ... Intro.html
(Your experience isn't that unusual, there are various humorous posts about one's first vi session, as an example
http://bash.org/?795779
As Gerald pointed out, anything commented is a default, so it is running on port 22 and permitting root login. However, ssh and sftp are two different things.
However, judging from your posts, especially if this a production machine, it seems as if you're inexperienced, and if possible, you would better off bringing someone in. Frequently, a 2 minute tutorial by someone standing there will save someone hours of googling.
http://heather.cs.ucdavis.edu/~matloff/ ... Intro.html
(Your experience isn't that unusual, there are various humorous posts about one's first vi session, as an example
http://bash.org/?795779
As Gerald pointed out, anything commented is a default, so it is running on port 22 and permitting root login. However, ssh and sftp are two different things.
However, judging from your posts, especially if this a production machine, it seems as if you're inexperienced, and if possible, you would better off bringing someone in. Frequently, a 2 minute tutorial by someone standing there will save someone hours of googling.
New users should check the FAQ and Read Me First pages
Re: sFTP access denied for root user
In addition, you should think twice before deploying new CentOS 5 instances. The end of life date for CentOS 5 is now less than 2 years away so in less than 2 years you will be reformatting and reinstalling those machines.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: sFTP access denied for root user
in other forums we can thanks users by giving them thanks or reputation
but I could't find it
thanks for your helps
you have no idea how frustrating is ,being MCSE [FULL certificates of MS] and not be able to do some basic stuff in linux
MS policy always was [isn't any more] avoiding linux stuff for its students
but now that hyper-v came MS changed its policy
now MS graduated students must know basic linux , and its good ,when i was 20 ys old learning was so easier than now that I am 41 ys old and i am involved with making money all my day time
@scottro: appreciated for vi commands
also I cant ask admin
I am the admin
also in that pertecular case I am owner too [thats why I dont wanna bring someone ,there is a script which worth it a lot, its safer I do by myself
but I see I must bring someone
Dr.ARIO
but I could't find it
thanks for your helps
you have no idea how frustrating is ,being MCSE [FULL certificates of MS] and not be able to do some basic stuff in linux
MS policy always was [isn't any more] avoiding linux stuff for its students
but now that hyper-v came MS changed its policy
now MS graduated students must know basic linux , and its good ,when i was 20 ys old learning was so easier than now that I am 41 ys old and i am involved with making money all my day time
@scottro: appreciated for vi commands
also I cant ask admin
I am the admin
also in that pertecular case I am owner too [thats why I dont wanna bring someone ,there is a script which worth it a lot, its safer I do by myself
but I see I must bring someone
Dr.ARIO
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: sFTP access denied for root user
That is the admin you need to ask.it was fine until I gave the vps to my admin to install bot and now I cant login using sFTP