Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WinSCP into App Server as Root 2

Status
Not open for further replies.

Pepp77

Vendor
Oct 30, 2008
2,513
GB
Is this possible?

I never have an issue logging in as Administrator, but whenever I try and login as root I always get Access Denied. Oddly though the same password lets me login to the login prompt on the actual app server itself (using the login command).

Also whilst I am here I might as well ask about migrating contact recorder recordings from one app server to another as again whenever I follow the docs to copy the old folder (backup of) to the same location as the new CSIPORec folder I also get access denied (logged in as Administrator).

Is there any guides on best use of WinSCP with App server as logging in as administrator really does limit your options in there.

Cheers

| ACSS SME |
 
Same issue here, root access for SSH is disabled by default, I read some other threads here to enable it, then WINSCP works fine.
 
you have to edit the sshd.conf (configuration file for the ssh daemon) file to allow root access via ssh, then WinSCP will work.
 
You do not need to do that as it is insecure!
Go to the /home folder and make a new folder with the CS recordings.
Put the recordings there as you are allowed to do that.
Login with putty on to the server too.
Go to /home/newfolder and then type mv (move) or cp (copy) /.../.../.../... )whatever folder it needs to go to.
Never ever enable root access so easy. It is like putting both front and backdoor open when you are not at home.


BAZINGA!

I'm not insane, my mother had me tested!

 
* for tlpeter

root logins are disabled for a reason.

another alternative is to modify the permissions on the directory you need to save to but I would strongly recommend you study the Linux permissions ethos before proceeding.

hint change the group ownership of the groups to Administrator & make group writeable if not already set.

making the directory world writeable is not a good idea (but still more secure than allowing root login) don't do it.

A Maintenance contract is essential, not a Luxury.
Do things on the cheap & it will cost you dear
 
Oh crap !!

Never allow rootlogin in SSH, if you need rootaccess you login as another user and then use sudo or su - root.

"Trying is the first step to failure..." - Homer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top