I can't login to any new FTP accounts


 
Thread Tools Search this Thread
Special Forums IP Networking I can't login to any new FTP accounts
# 1  
Old 12-08-2011
I can't login to any new FTP accounts

I have a website that I use sftp to connect to the root account. I am able to connect to it with
Code:
sftp root@domain

However, when I create a new user, and try to login with this account, it says permission is denied.

I have already checked with my provider, and tech support said they can login to the new account with the password without any issues.

I've tried deleting the account, creating new ones, increasing the available disk space, and I am able to login to the root account with ftp and lftp too. Checked the permissions of the user's directory=755, so I don't think the problem is there. I use cpanel on my website but I don't think it's a problem with the site software because, like I said, I spent over an hour with live chat support last night and they say my ftp accounts are working for them.

Could it be some configuration file my sftp program is using? Maybe I don't have it configured properly for these other accounts or it's not adding the required info when I attempt to? I read about /etc/ssh/ssh_known_hosts file but I don't have that file. Just the ssh_config.

Any ideas? - thxSmilie

Last edited by trevthefatty; 12-08-2011 at 06:50 PM..
# 2  
Old 12-08-2011
ssh is very fussy about permissions on .ssh dirs and files.
# 3  
Old 12-08-2011
Yeah that's why I checked it out and the permissions are the same as the other account I am able to log into. Thx tho! Any other ideas?
# 4  
Old 12-08-2011
Quote:
Originally Posted by trevthefatty
I have a website that I use sftp to connect to the root account.
Quite a lot of systems disable root logins over ssh/scp/sftp entirely, like mine.

Code:
$ grep PermitRoot /etc/ssh/sshd_config
PermitRootLogin no
$

# 5  
Old 12-08-2011
Sorry, maybe I'm not being clear - I AM able to login with my root account, I AM NOT able to login with any new accounts....thought I explained that all clearly Smilie

Last edited by trevthefatty; 12-08-2011 at 07:40 PM..
# 6  
Old 12-09-2011
Did you run in verbose? The ssh commands are very specific about progress in verbose. (The title is a misnomer, as sftp only has much of the traditional FTP command dialog user interface, and is substantially different under the skin. FTP itself is so diverse some FTP tools like ws_ftp have a flavor detector.)
# 7  
Old 12-09-2011
Yes I had tried running in verbose mode, but I get pretty much the exact same messages as when I AM able to connect.

The only errors were from trying different types of authentication, which I'm not using, so it disables that method and goes onto asking for my password.

Code:
debug1: Unspecified GSS failure.  Minor code may provide more information
Credentials cache file '/tmp/krb5cc_1000' not found

debug1: Unspecified GSS failure.  Minor code may provide more information


debug2: we did not send a packet, disable method

So, I had the verbose output saved to a log file, and used diff to compare it to the output from the account I am able to log into. The only difference was the bits:

Code:
diff goodAccountLog badAccountLog
54,55c54,55
< debug2: dh_gen_key: priv key bits set: 143/256
< debug2: bits set: 509/1024
---
> debug2: dh_gen_key: priv key bits set: 118/256
> debug2: bits set: 516/1024
60c60
< debug2: bits set: 526/1024
---
> debug2: bits set: 515/1024
72c72
< debug2: key: /home/trevor/.ssh/id_rsa (0xb81d7b28)
---
> debug2: key: /home/trevor/.ssh/id_rsa (0xb8720b28)

So I can't understand what is going on here....

Thanks again!
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Ftp login commands

Hello, I am using ftp on command line. The problem is getting bumped off after 15 minutes of no activity.. I have two options: quit ftp and use the command history of my shell, or stay in ftp and use 'open' command, where I can use the command history saved in the ftp program. Either option... (1 Reply)
Discussion started by: Allasso
1 Replies

2. Solaris

FTP log only shows FTP LOGIN FROM entry?

OS: Solaris 9 Configuration /etc/syslog.conf daemon.debug /etc/inetd.conf ftp stream tcp6 nowait root /usr/sbin/in.ftpd in.ftpd -A -l -d Found the ftp.log only generate those entries from other servers/hosts. Can we trace on all ftp entries either from/to the server? ... (6 Replies)
Discussion started by: KhawHL
6 Replies

3. Shell Programming and Scripting

delete ftp accounts created in cpanel

i want to delete the extra ftp accounts that are created in cpanel e.g., when you go to cpanel->ftp accounts, any that are not there by default how can i do this via commandline? i am looping through the users on the server where is this info stored? also - how can the password of an... (0 Replies)
Discussion started by: vanessafan99
0 Replies

4. UNIX for Dummies Questions & Answers

System list of all UNIX login accounts

What is the command to list all UNIX system login accounts? What is the command to list all system password parameters for UNIX(minimum length, complexity,age, invalid lockout attempts, expiration date , user inactivity lockout) (1 Reply)
Discussion started by: ma466
1 Replies

5. Solaris

FTP login failed.

Hi guys, Can you please help me. I have SUN V100 server running solaris 8. I also have a Redhat Linux 6.2 machine and a windows XP machine on the network. I'm trying to copy files from the Linux and XP machines to the V100 server. When I try to ftp to the solaris machine, I'm challenged... (2 Replies)
Discussion started by: Stin
2 Replies

6. UNIX for Dummies Questions & Answers

FTP & login

Folks; Is there a way in UNIX to do the following: When users use FTP to login to a mounted drive on Solaris server, if that was their first time login a home directory for that user will be created & if the home directory exists it won't create a home directory (user should not have a login... (6 Replies)
Discussion started by: Katkota
6 Replies

7. Red Hat

limit non login id for ftp

Hi All, How can I limit a userid (/bin/false) to have access only to ftp service? On redhat ent 4. Thanks! (1 Reply)
Discussion started by: itik
1 Replies

8. UNIX for Advanced & Expert Users

FTP login problem

I've just configured a server to my network (setting the ip, netmask, host file, etc...) and the server doesn't have any problem pinging another computer on the network. however when i try to connect to the server via ftp the root account can't log in, i made another account (a standard one that... (2 Replies)
Discussion started by: pasalagua
2 Replies

9. Cybersecurity

Disablin login for system accounts

Hy everyone! I'm trying to lock out system accounts on my Tru64 UNIX machines. Wherever I look, it says only to put Nologin or *Nologin in password field of desired account in /etc/passwd. But it doesn't work. I still can su to that accounts. There are some accounts that already have Nologin... (1 Reply)
Discussion started by: veccinho
1 Replies
Login or Register to Ask a Question