• PHP
  • Ruby on Rails
  • MySQL
  • Linux
    • SELINUX
    • Fedora
    • debian
  • Apache
  • nginx
  • AJAX
Albertech.net

Tag Archives: Ssh

Fix: Private key refused for SSH on new install of Fedora CentOS

March 1, 2012 2:52 pm / Albertech.net

If you are setting up SSH public key authentication in a new Fedora/CentOS install, you must make sure the SELINX configuration is setup correctly for the /root/.ssh folder on the server.

The ~.ssh/ folder is not created on a new install. If you manually create the folder, set the SELINUX permissions with this command:

restorecon -R -v /root/.ssh

Another tip: If you are using the PuTTY Key generator to generate the public key, make sure you copy and paste the text into a single line in the /root/.ssh/authorized_keys file. Each line of the authorized_keys file should have the following: ssh-rsa (key contents) imported-openssh-key

Share this:

  • Facebook
  • Google
  • Twitter
  • Print
  • Email
Posted in: Fedora / Tagged: Fedora, ssh

Text in SSH window stuck at fixed width

November 18, 2008 4:16 pm / Albertech.net

If you ssh into your server and the text is stuck at 80 characters per line, you will need to check the sshd setting in /etc/ssh/sshd_config (Debian)

Make sure the X11 setting is set to yes. This will allow you to expand your terminal window to beyond 80 characters per line.  Otherwise, it will be limited to the display settings in console.

X11Forwarding yes

Share this:

  • Facebook
  • Google
  • Twitter
  • Print
  • Email
Posted in: Linux / Tagged: Linux, ssh, tips

Categories

  • AJAX
  • Android
  • Apache
  • Canon Cameras
  • Cloud
  • CMS
  • Computer Mods
  • Conferences
  • Deals
  • debian
  • Fedora
  • Flash
  • Frameworks
  • git
  • Hardware
  • HTML
  • IDE
  • iPhone
  • iPhone App Review
  • jQuery
  • Linux
  • Mac OS X
  • MySQL
  • nginx
  • PHP
  • portfolio
  • Puppet
  • Ruby on Rails
  • Script Reviews
  • SELINUX
  • Software
  • Software Review
  • SQL Server
  • statistics
  • Tech
  • Tomcat
  • Uncategorized
  • VMWARE
  • VPS
  • Windows
  • wordpress
  • Zend Framework

Blogroll

  • DragonAl Flickr
  • Dropbox – Free 2GB Account
  • James' Blog
  • Javascript Compressor
  • PHP Builder Community
  • PHP-Princess.net
  • Rubular – Regular Expression Validator
  • The Scale-Out Blog
  • Tiny MCE

Tags

activation AJAX android antec Apache AWS awstats canon coda codeigniter debian enclosure external free G1 install vmware tools Internet Explorer iphone 5 jquery Linux mx-1 MySQL office 2007 OSX photoshop PHP plugin plugins portfolio redesigned website review rewrite script security SELinux ssh tinymce tutorial upgrade VMWARE vmware server wordpress wordpress mu XSS zend framework
© Copyright 2013 Albertech.net
Infinity Theme by DesignCoral / WordPress
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.