Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Try this then...
Install WinScp and use that to sftp to your server. I’m not confident that Windows explorer is the right tool...or even works for what you want to do.
(Gotta wonder...why is it like pulling teeth to get information from you. Is it a language issue? What is your native language?)
I can get into it but I expect to have proper control by user account and to have also write permission to it. You can try now and you should be able to get into it.
scasey, I think the OP is using Windows Explorer (??) to access SFTP. They don't seem to understand that unless they set the account up (as you've suggested) with the right permissions on the root folder, things won't work. And if they (*AGAIN*) followed any of the thousands of guides on how to set up chroot'ed SFTP, they would also solve their problems with upload as well. Given their posting history, I doubt that will occur.
And bear in mind, from the four pages in their other thread, they want this user account to be anonymous (as in, no password), and to be able to upload. No matter the protocol used, that's just a horribly bad idea for 99% of scenarios.
Quote:
Originally Posted by scasey
I'm done. I'm out. You can't or won't communicate. I give up.
I tried WinSCP but it did not help a lot. IT IS only the way to connect. I do want to have proper account to current SFTP.
Doesn't appear as if you do, since you're not providing any information, or taking any of the advice you're given. As you've been asked many times before, read the "Question Guidelines". You, personally, need to do some research on your own, ask CLEAR questions and answer questions when asked. Otherwise, there's not much point in posting. Here's the steps you need:
Put "how to chroot sftp on linux" into Google.
Press <ENTER>.
Read and follow either of the FIRST TWO LINKS
That's how. If you don't want to learn or listen, there's nothing anyone here can do for you.
scasey, I think the OP is using Windows Explorer (??) to access SFTP. They don't seem to understand that unless they set the account up (as you've suggested) with the right permissions on the root folder, things won't work. And if they (*AGAIN*) followed any of the thousands of guides on how to set up chroot'ed SFTP, they would also solve their problems with upload as well. Given their posting history, I doubt that will occur.
And bear in mind, from the four pages in their other thread, they want this user account to be anonymous (as in, no password), and to be able to upload. No matter the protocol used, that's just a horribly bad idea for 99% of scenarios.
Please see the OP's posting history.
Oh, I got it. I'm not sure why I tried again. Maybe an attempt to both help with the problem and educate the OP. I'm not sure why I thought they'd respond to me when they hadn't responded to you and others. Some kind of vanity, perhaps...sigh. I'm done with them now. Ignore list +1
I appreciate your support and insight TB0ne; not just here, but everywhere you participate on LQ. Keep it up.
You ARE ABSOLUTELY STUPID guy and keep on fighting for ever! Why don't you shut up and leave the question to other people?
You actually expect people to be eager to help you? Again, as you've been told NUMEROUS TIMES, you need to do basic research, and show some effort. You were given advice in your other thread, ignored it, then yelled at/insulted people. You then opened THIS thread, where you didn't bother to try to think about what you were told, or look it up. I had to give you search terms, before you actually looked.
Did you think about WHY you were running sudo as root??? Do you know what sudo does?? Did you think about what the error is telling you???
If you aren't willing to learn and think, then you need to hand this job to someone else.
within CentOS. How to access it within other Windows client machine?
Sorry, but are you serious????
You've been told dozen of times, over the course of YEARS:
To ask a clear question
To answer questions you're asked clearly
To actually PROVIDE DETAILS when asking questions
To show effort of your own
...and you follow up with this?? Your last two questions could have been looked up, by you, with a simple Google search, and even after you received hints and advice on how to perform this task, you STILL had to have someone give you an exact search term (after you yell and insult people). And now you post this...which:
Is NOT Linux related
Provides NO DETAILS at all (version of Windows? What kind of client? Error(s)/message(s) you get?)
..and we're back to square one. Have a problem with Windows software? Post on a Windows forum...or actually try to READ THE DOCUMENTATION for whatever software you're using. You know...BASIC RESEARCH, instead of asking to be spoon-fed each little piece. And since you said this earlier:
Quote:
Originally Posted by Huamin
I used Windows explorer to access it.
...did you try to explore what Windows explorer can and can't do?? If you did, you might have found out that Windows **CANNOT ACCESS SFTP NATIVELY**.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.