General :: OpenSSH Server Reporting Wrong Version?
Aug 3, 2009
My Fedora Core 8 server came with OpenSSH Server 4.7p1 installed. I could not find a YUM package or RPM for 5.2p1, so I installed it manually and rebooted. Now if I do a version check with "sshd -v", it reports it's version as "OpenSSH_5.2p1", but if I connect with Putty, it reports "SSH-2.0-OpenSSH_4.7". Do I have two versions of OpenSSH running or what's going on?
I would like to recompile the openssh-server with a different version string. I download and compile the source, but so far I have only been able to compile and run the client. Not the server.
Steps taken:
Is there a flag or option I need to specify to insure that it creates the sshd?
I'm using ubuntu 10.04 64bit server edition running a small dev server. What's happning though is that my one ext4 filesystems reports the wrong amount of free blocks. This is what fsck reports
Code: fsck -n /dev/sda1 fsck from util-linux-ng 2.17.2
I have recently installed centos 5.6an app i have needs to run php 5.3 so i upgraded by adding a repo and using yum install php53*a php -v gives me this.PHP 5.3.3 (cli) (built: Mar 30 2011 13:51:41) Copyright (c) 1997-2010 The PHP GroupZend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologiesi also need mysql 5.1 so i picked a repo that had the 5.1 version of mysql in it and um install mysql*which gives me this.[root@localhost var]# mysql -Vmysql Ver 14.14 Distrib 5.1.52, for redhat-linux-gnu (i686) using readline 5.1and then tri to run my app and it failsthe only difference i see between the server that is current working and the new one is in the phpinfo file.in the mysql section of the working one it says Client API version. 5.1.xin the new server install it says the following which is still point to the client api or 5.0
mysql MySQL Supportenabled Active Persistent Links 0
Platform RHEL 4 Update 8.I have installen the 0.9.8m version of openSSL on the workstation with the existing version of openSSH that comes with the Operating System. When doing a secure shell connection with the following command:ssh -vvv 131.98.37.7.the output shows that it is refrencing the older version of openssl 0.9.7a.why is the openSSH still refrencing the older version of openSSL.
Today morning I logged on to one of our servers (through ssh -X) to perform a routine maintenance. When I tried to open a GUI application, it failed to connect to the X server of the workstation. Eventually I ended up issuing the command
Code:
df -h /
and shockingly it showed that / is 100% used. I checked / using
Code:
du --max-depth=1 -xh /
to check the sizes of the individual directories, which showed that only about 18% of the / is used and that confused me badly. There was no quick solutions when I googled around; but luckily I found the following link which nicely explained the issue I had:
[URL]
All I did was found out the services responsible for those unreleased files (using lsof +L1) and restarted them. That is it. Now df reports only 18% of the disk is used and all my X things started working again, thanks to Walker.
I have problem with the config file for clients which is ssh_config or ~/.ssh/config
every config that i write in them not working fore example when I change the escape character to ! its not working or any other config I checked with another system that has the same OS ((debian 6)) but the problem was there too
Do I missing something here that cause this? like enabling client configuration ?
Connecting with PuTTy works fine with my public/private keys. But why does sshd start and then restart twice when booting? I tried looking in the logfiles under /var/log/ for anything with ssh/sshd but nothing shows up.
I have configured openssh 5.8p2 with centos 5.6. My sftp is working fine with chroot environment but i am having problem with SCP. I am dealing with muliti Redhat servers. When i try to transfer data from other linux server through scp it gives connection refused. For e.g ssh 5.8 is configured on new server and i want to transfer files from old server which is using openssh 4.3 version.i created same username and password on new server as on old server.My sftp users on new server has no shell access but only sftp access. When i try to scp from old server to new server it gives error connection refused. Is the below configuration only for sftp and can't scp? According to google the configurations i found are for scp and sftp. Do i need to generate ssh keys by giving users on new server shell access, once created then stop shell access again, as i dont want to give shell access permanent for security reasons? but i want to use ssh keys for more security as well.
Port 22 PermitRootLogin no 1.override default of no subsystems[code].....
When I installed fedora 11 the other day using the live CD it installed the i586 kernel and not the i686, despite the fact that smolt seems to know that that the hardware is i686 (well, actually it's x86, but I'm not going to argue because I forgot to get that one...). Why would it install the i586 one though? (uname -r 2.6.29.6-213.fc11.i586) But more importantly, are there any specific issues which this version can cause that I should be aware of? I can't really be bothered to change it at the moment if there is no real issue with it but I'm not too sure what difference it makes? Is it slower? It seems to know that I have a quad-core processor and seems to use them fine.
While trying to get a new revision of ntfs-3g packaged for my OS (2010.10.02) i've run into an odd issue. I pulled the ntfs-3g sources, and got the package sources for the ntfs3g debs (apt-get source ntfs3g).I pulled the <src dir>/debian directory into the new sources, went into <new src dir>/debian/<package names>/DEBIAN and altered the versions in the control files to reflect the current version. However, during dpkg-build, the versions revert to the original package version which is 2010.03.06. When these debs get installed, apt-get update thinks that despite both the version of the installed package, and the version of the upstream package being the same, that it should replace the one i made with the upstream.
How can I delete the other one and install the right one? I installed the desktop version and I needed the netbook version. Can I delete the partition and install the right version like new?
I have configured Nagios in my CentOS machine and is able to receive notificatons/alerts related to hosts and services at defined interval. Now I would like to receive combined reports (for daily downtime, availability of hosts/services) for all hosts and services in one go in the morning. Is there any configuration or setting on Nagios Splash screen.
I have a RH 5.5 server which boots from SAN and i use device mapper multipath driver.all the ports are up(see the multipath -ll output below) and i can see all the device but still when i do the multipath command it gives me this output, im wondering whether this is a lvm.conf configuration issue.
I have a machine with Ubuntu 11.04 on it. I have not installed any developmental build of Firefox 5 (unless that came with Ubuntu for some unfathomable reason). For some reason Firefox 4 seems intent on identifying itself as Firefox 5.0. How do I fix this? My extensions won't install claiming they can't run on 5.0.
I am using using Red Hat Enterprise Linux ES release 3 (Taroon) dhcp server ver: dhcp-3.0pl2-6.14
I am trying to bind macid 00-21-6B-A1-C9-4C & 00-15-00-1D-AD-57; but it give, when I start dhcp service, I get the following error messages. I am sure macid are absolutely correct. Following the error message I get.
Starting dhcpd: Internet Software Consortium DHCP Server V3.0pl2 Copyright 1995-2003 Internet Software Consortium. All rights reserved. For info, please visit [URL] /etc/dhcpd.conf line 2196: Bogus number: 00-21-6B-A1-C9-4C. hardware ethernet 00-21-6B-A1-C9-4C; Configuration file errors encountered -- exiting
I connect to a server on linux(openssh) through ssh. Is there a way such that i can hide my IP on that machine so that the server won't know my username and IP address?
Just installed OpenSUSE 11.3 64-bit. I have a program that uses libjpeg, so I installed libjpeg and the dev modules. It has both version 6 and 8 installed. When I run my prog and try to access the lib I get this error: Wrong JPEG library version: library is 80, caller expects 62 This seems a common problem elsewhere. Anyone know how to fix it in 11.3 ?
I'm having problems getting openssh server to accept connections in Ubuntu 10.04.Here's what I've done (twice): Installed Ubuntu 10.04 on USB drive with pendrive installer. This creates a default user "ubuntu" and you don't get the chance to choose a password for it. Started a keyring for network access and selected password. Works.Enabled VNC and selected password. Works fine with VNC client on local network. Logs in as "ubuntu" user and asks for the VNC password, then connects. Note: the client doesn't know the "ubuntu" user password, and neither do I! However, it works.Installed openssh client and server from Ubuntu s/w center.
$ ssh localhost OR $ ssh ubuntu@localhost try to connect, but asks for password, which I don't know (see step one, above) so, then I created a new user, with known password, logged in as new user in Ubuntu, works.however, $ ssh newuser@localhost still fails, even when correct password for <newuser> is supplied. Rejects the password three times, then gets the usual error about keys.I also tried connecting with an SSH terminal app from my iPad, again using <newuser>. It gets essentially the same error, "failure to authenticate".
All this is still on my own LAN, haven't gotten to going outside the router yet.What I want to do in the end is use VNC over SSH from a client on my iPad to talk securely to Ubuntu while I'm traveling.
I have recently discovered the following: when I attempt to connect to any of our machines that are OpenSSH 5.x (Ubuntu 10 or OpenSuSE 11.x in our case) as one of the users defined in the NIS domain that fails. For instance, me (user bepstein) can SSH into all those machines but not SFTP.I can SFTP into those machines on the network that are OpenSSH 4.x, however (CentOS 5.3 - 5.4, OpenSUSE 10.3).As a user defined locally on the machine (in /etc/passwd ) I can connect via either SSH or SFTP even if the machine is OpenSSH 5.x.Some further discussion of that issue is available here: http:[url]....
I am trying to build rpm for openssh 5.8p1 on centos 5.6 (32 bit) as i have not found rpm for i386 online. i followed the below mentioned steps but when i apply command rpmbuild -bb openssh.spec it gives this error at the end:
configure error: Pam Headers not found error: Bad exit status from /var/tmp/rpm-tmp.18348 (%build)
if there is any rpm availble online or to sort out this build problem,Following steps i followed to build rpm. wget http://mirror.mcs.anl.gov/openssh/portable/openssh-5.8p1.tar.gz
tar -xvzf openssh-5.8p1.tar.gz[code]......
Now if you go back into /usr/src/redhat/RPMS/<arch> , you should see three RPMs. Go ahead and install them:rpm -Uvh *.rpm
I am an openSuSE user for many years. My current installation is openSuSE 11.2. However, my first was SuSE 6.4 and I have been _constantly_ upgrading since then until reaching the current openSuSE 11.2. The technical issue I have been facing lately is with the kernel version of my current system: although it should be 2.6.31.5-0.1-desktop, as this is the one I have chosen via the online update mechanism and the yast2 system boot-loader procedure, grub shows it as preselected, the boot procedure in the end greets me mentioning this very kernel version, _but_ when I issue the command: uname -a in a command prompt, I am informed of using linux kernel version: 2.6.18.2-34-default #1 SMP PREEMPT
I am really quite puzzled, since I _cannot_ find any such vmlinuz file under /boot/ ! Could it be that my system properly runs with the expected kernel version, but uname mistakes it with a different one? Is there a way to determine the actual version of the linux kernel that my system currently runs with? If it's a problem with uname, have you got any suggestions that could potentially shed some light towards the origin/cause of the reported issue?
I'm trying to get openssh-server working so I can stop using the family TV and just SSH from my laptop. I've only just installed 10.4 server edition, and I've made a change to /etc/apt/sources.lst by removing the # in front ofdeb cdrom:[Ubuntu-Server 10.04 LTS Anyway I run:sudo apt-get install openssh-server
Code: Reading package lists... Done Building dependancy tree
Is there a way to enable a web interface to access openssh-server on my vps incase i'm on a network that does not permit outbound port tcp 22 or any other port of my choosing?
is there a way to enable a web interface to access openssh-server on my vps incase i'm on a network that does not permit outbound port tcp 22 or any other port of my choosing?