Hi all, recently a server I maintain running
$ cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 4)
with kernel version
$ uname -r
2.6.9-42.0.2.ELsmp
and I've been trying to connect from a remote host with sshfs command:
$ sudo sshfs
someuser@someserver.com:/dir/to/mount /mount/point
and immediately after entering my sudo'er password, I get
remote host has disconnected
if I pass -1 and -d like so
$ sudo sshfs
someuser@someserver.com:/dir/to/mount /mount/point -1 -d
then I get promted for a password as I should, but upon entering the proper password I get booted with the same error. strace doesn't seem to help much:
$ sudo strace sshfs
someuser@someserver.com:/dir/to/mount /mount/point -1 -d
... (cut off the beginning of output
Code:
set_tid_address(0xb7dba6f8) = 7081
rt_sigaction(SIGRTMIN, {0xb7f8f720, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0xb7f8f640, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbfc57100, 34, (nil), 0}) = 0
brk(0) = 0x8053000
brk(0x8074000) = 0x8074000
gettimeofday({1174342571, 232739}, NULL) = 0
pipe([3, 4]) = 0
pipe([5, 6]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7dba6f8) = 7082
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(7082, NULL, 0) = 7082
close(4) = 0
close(5) = 0
writev(6, [{"\0\0\0\5\1\0\0\0\3", 9}], 1) = 9
read(3, someuser@somehost.com's password:
"", 5) = 0
write(2, "remote host has disconnected\n", 29remote host has disconnected
) = 29
exit_group(1) = ?
any thoughts? I know I can SSH/SFTP to the host fine, and I know that the source dir and the target mountpoint both exist