Excuse my negative attitude. I was dreading this project and now that I can't put it off any longer I've immediately run into problems.
I thought I'd found a really good simple tutorial here.
So, I picked a user profile (tutorial doesn't say anything about what its authorities or characteristics should be). Let's call it MYPRF (since this is a security application I don't want to say the real name on-line). I didn't create a new one called SFTPUSER partly because I would have to then make a whole lot of decisions about how to set it up, partly because I haven't been given permission to create one, and partly because it seems like an obvious name to target if someone did wish to do harm later. A profile that is working now (for batch jobs) but not actually used (no one else knows the password) seemed like it would be OK.
I called QP2TERM
I created the /home/MYPRF folder
Changed the permissions to 755
Tried to create the key
Checked with LS that the owner was indeed 1051 and not MYPRF.
Tried to change the owner from 1051 to MYPRF:
No it's not. I double checked the spelling. Checked it again just now to avoid embarrassing myself here. It's the right name and the name I signed on and the name I created the folder as.
Tried to delete the new folder so I could start from scratch and was told it wasn't empty, but then tried to LS the contents and nothing was shown. Catch-22
So I'm stuck on the first page of the tutorial and can't even get started.
I thought I'd found a really good simple tutorial here.
So, I picked a user profile (tutorial doesn't say anything about what its authorities or characteristics should be). Let's call it MYPRF (since this is a security application I don't want to say the real name on-line). I didn't create a new one called SFTPUSER partly because I would have to then make a whole lot of decisions about how to set it up, partly because I haven't been given permission to create one, and partly because it seems like an obvious name to target if someone did wish to do harm later. A profile that is working now (for batch jobs) but not actually used (no one else knows the password) seemed like it would be OK.
I called QP2TERM
I created the /home/MYPRF folder
Changed the permissions to 755
Tried to create the key
ssh-keygen -t dsa -N ""
No user exists for uid 1051
No user exists for uid 1051
Tried to change the owner from 1051 to MYPRF:
chown: MYPRF is an unknown username.
Tried to delete the new folder so I could start from scratch and was told it wasn't empty, but then tried to LS the contents and nothing was shown. Catch-22
So I'm stuck on the first page of the tutorial and can't even get started.
Comment