Hi,
When I run
sshpass -p 'mypass' sshfs 'root'@'68.19.40.16':/ '/dir' -o StrictHostKeyChecking=no,debug
It successfully mounts but it runs on foreground.
When I run without 'debug' parameter, it doesn't mount at all.
Server is ubuntu 8.04
Any ideas why?
UPDATE: When I run the command as ROOT it does mount. It doesn't work with other users.…
I ran into a weird directory permission problem when logged in to a Win2008SP2 (not R2) server through SSH. When I open a local cygwin shell on the server, i can do this:
myUser@myServer ~
$ cd /cygdrive/c/Windows/System32/inetsrv/
myUser@myServer /cygdrive/c/Windows/System32/inetsrv
$ cd config
myUser@myServer…
I am trying to start services vsftpd and sshd using xinetd. my config files are as follows.
/etc/xinetd.conf
defaults
{
instances = 60
log_type = FILE /var/log/xinetdlog
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
only_from …
I'm trying to make the jump to VPS from shared hosting for better performances and greater flexibility, but am stuck with the fact that I can't access the machine via ssh.
First of all, the machine is a CentOS 6.3 cPanel x64 with WHM 11.38.0. Sshd is running (it appears in the current running processes).
Making…
We have a Windows 2003 Server on which we have installed Microsoft's Services for UNIX, and we have mounted a few NFS shares that contain shared resources that we need to access from this box. When I log in to this server with remote desktop, I am able to browse the contents of the NFS shares and everything…
I'm running Ubuntu 12.04.2 LTS (Precise Pangolin) and noticed a 30 second delay whenever i log into my server via ssh or perform any kind of login via sudo on that machine.
I can provoke immediate execution by killing the defunct dbus-daemon showing up during the delay:
output of ps fax |grep dbus
19222 ? …
When you want to have public key based ssh logins for multiple machines, do you use one private key, and put the same public key on all of the machines? Or do you have one private/public key pair for each connection?
I'm trying to setup passwordless SSH access.
My username is bmccann, so in /etc/ssh/sshd_config I added:
PermitRootLogin no
PasswordAuthentication no
AllowUsers bmccann nx
I ran ssh-keygen on the client and put ~/.ssh/id_rsa.pub from the client into ~/.ssh/authorized_keys on the server.
I can now login…
So I have 3 machines, a windows 7 desktop that is always wired to my router, osX laptop, and raspberry pi running debian linux. My router is a Linksys e1000 wireless N.
My goal is to be able to ssh the raspi from any machine, while it is connected via wifi. My problem is that when trying to ssh from either…
Authentication failure during Vagrant Up, while vagrant ssh and ssh vagrant@localhost -p2222 works
I would like to execute a shell script using Vagrant at boot. Vagrant is unable to Authenticate, while the VM has been started using vagrant up:
c:\temp\helloworld>vagrant up
Bringing machine 'default' up…
I created a new user in my CentOS web server with useradd. Added a password with passwd. But I can't log in with the user via SSH. I keep getting 'access denied'. I checked to make sure that the password was assigned and that the account is active.
/var/log/secure shows the following error:
Aug 13…
I created a new user in my CentOS web server with useradd. Added a password with passwd. But I can't log in with the user via SSH. I keep getting 'access denied'. I checked to make sure that the password was assigned and that the account is active.
/var/log/secure shows the following error:
Aug 13…
I'm connecting to a desktop running cygwin via SSH from the terminal app in Mac OS X. I have already started screen on the cygwin side and can connect to it over the SSH session. Furthermore, I have the following in the .screenrc file:
bindkey -k k1 select 1 # F1 = screen 1
bindkey -k k2 select 2 …
I'm have trouble transfering files again from my work PC, which is a linux machine to my home windows PC.
My work has changed it so I now need to SSH twice before I can access my PC.
So I need to:
ssh username@server.name
password: xxxxx
I then need to do it again.
ssh computer_name
…
Hello I am running ubuntu 11.10 and access it via ssh with putty.
My problem is that when I log in I get the prompt
username@server.com:~$
and my arrow keys do what the y are supposed to. When I try to login in as another user account I made all I get is this as the prompt it never says the…
Ubuntu One's Security FAQ indicates that Canonical encrypts connections and restricts access to user data. This all well and fine, and I do trust SSL for online banking and other things more valuable than my private keys.
That said, I am quite anxious about putting my ~/.ssh/id_dsa up in the…
Some time ago when I installed Ubuntu I chose a rather stupid username for my account that I do not want to use anymore.
How do I change this (including the name of my home directory) without loosing settings for applications? How do I keep permissions and my keys for various…
Hi,
why should root access be disabled for ssh? I always hear that's for security reasons. But I don't get it. What's different to login as non-root and then sudo su -? What's the preferred way to handle tasks that need privileged permissions?
Thanks
Thomas
I cannot SSH into my instance - Operation timed out. What could be the reasons why, and what can I do to resolve it? Rebooting normally takes a long time to take effect, and might just makes things worst
Howdy, I am trying to run matlab remotely on windows via OpenSSH installed with Cygwin, but launching matlab in windows without the GUI seems to be impossible.
If i am logged in locally, I can launch matlab -nodesktop -nodisplay -r script, and matlab will launch up a stripped…
I just installed an IRC bot, B****X (Don't ask, I don't know - the real name is not censored). I did all of the configuration and chmod'ed the pl files to 755, but running it won't work. My host does not allow SSH/Shell (which is how the documentation says to runs he script),…
i normally ssh into my remote server in order to administrate my files using terminal for OSX.
i don't understand how i retrieve (download) files from the server to my local computer, or send files from my local computer to the server (upload).
please help!
I need to tunnel the connections (mostly TCP) made by an application through Socks5, SSH or HTTPS.
So far, I've found 3 ways to do this: api hooks, winsock lsp and a driver.
I'm looking for advice on the best way to handle this, and any recommendations on SDK's that could…
What regular expression can I use (if any) to validate that a given string is a legal ssh rsa public key?
I only need to validate the actual key - I don't care about the key type the precedes it or the username comment after it.
Ideally, someone will also provide the python…