Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 3976

SSH (Secure SHell) is a protocol for securely running commands on a remote computer. Use this tag for questions about configuring, using and trouble-shooting SSH client and server software.

33
votes
Did you make sure that the ownership and mode of your ~/.ssh directory on the remote side is correct? It should be owned by you, and have 0700 permissions, i.e. chmod 700 ~/.ssh. Also chmod go-w ~ as … this is checked also - because anyone with write permission on your home directory can change the permissions of the .ssh directory. …
answered Aug 8 '12 by jsbillings
9
votes
You don't need an X server on the remote side of the X session, but you will need xauth, which is usually included in an X-related package (xorg-x11-xauth in RHEL and Fedora). If you want to run any …
answered Jan 20 '11 by jsbillings
5
votes
While it isn't SSH's pubkey authentication (which is something that only exists in the SSH protocol, not SMTP), you could set up TLS Client certificates. This will require a valid SSL certificate on … the client side. Also, if you must use SSH's pubkeys, you could simply allow all mail connections from localhost on your personal SMTP server, and set up an SSH tunnel over SSH to port 25 on the SMTP server. …
answered Feb 9 '11 by jsbillings
55
votes
Use ssh-keygen -R hostname to remove the hostname from your known_hosts file. The next time you connect, the new host key will be added to your known_hosts file. …
answered Jan 27 '11 by jsbillings
10
votes
I suggest reading the ssh_config man page. If you want to have a specific identity per-host, and another for all other hosts, do something like this in your ~/.ssh/config: Host hostname.example.com … IdentityFile ~/.ssh/identity_rsa_or_else_private_key_file Host * IdentityFile ~/.ssh/another_identity_file By default, it uses ~/.ssh/id_rsa for the IdentityFile for RSA identities and …
answered Dec 19 '12 by jsbillings
1
vote
You probably need to add a nohup to your startup scripts. It sounds like your processes are terminating when your session ends. You might also want to look at how standard daemons are started with u …
answered Dec 14 '14 by jsbillings
1
vote
To start, you'd probably be better off just using some other plotting library like matplotlib which doesn't require an X framebuffer. If you absolutely must use pyplot, try starting up Xvfb (a virtua …
answered Apr 17 '12 by jsbillings
2
votes
the X protocol. So, when you are connected via SSH with X forwarding, the X client is on the remote server, and the X server is the process on your local computer. In this case, since iceweasel is … running on the remote server (running as an X client), flash is executed on the remote server, however it is talking to your X server on your local computer using the X protocol, over the SSH tunnel. …
answered Aug 31 '13 by jsbillings
3
votes
Typically it means your home directory or .ssh/ directories do not have correct permissions. check out the remote end's syslogs for errors from sshd. for example, a line containing: sshd[pid …
answered Apr 6 '13 by jsbillings
3
votes
The who and last commands might be useful for displaying the host from which users are connected.
answered Mar 15 '11 by jsbillings
0
votes
In CentOS5, the iptables configuration file is /etc/sysconfig/iptables. Edit that file, and restart the firewall with /sbin/service iptables restart.
answered Sep 12 '15 by jsbillings
7
votes
If all you need to do is run a web session, appearing to come from your friend's computer, I'd suggest just running OpenSSH with the ssh -D8888 argument (8888 is just an example), and set up your … local browser to point to localhost:8888 as a SOCKS5 proxy. If you must run a browser over the link, there's no reason why you need to start up an entire GNOME session, just run ssh -X as described in the other questions, and then run the browser alone. …
answered Feb 11 '11 by jsbillings
54
votes
SFTP isn't the FTP protocol over ssh, but an extension to the SSH protocol included in SSH2 (and some SSH1 implementations). SFTP is a file transfer protocol similar to FTP but uses the SSH protocol … as the network protocol (and benefits from leaving SSH to handle the authentication and encryption). SCP is only for transferring files, and can't do other things like list remote directories or …
answered Mar 6 '11 by jsbillings
3
votes
You can install the OpenJDK right through the CentOS repositories, by running yum install java-1.6.0-openjdk as root. If you must have the SunOracle Java packages, visit the java download page and fo …
answered Mar 15 '11 by jsbillings
87
votes
Have you tried ssh -t user@server "mail && bash" (or replace bash with whatever shell you like)? The -t is necessary in order to create a pseudo-tty for bash to use as an interactive shell. …
answered Mar 16 '14 by jsbillings

15 30 50 per page