Tag Archives: SLES

Can't login to server with ssh

By bitlord

Hello,
I’m having an issue logging into one of my SLES 11 servers. It doen’t ask for my password and will not take my key.

Code:

bitlord@SLES11
< ssh -v bitlord@calliope
Sun_SSH_1.1.4, SSH protocols 1.5/2.0, OpenSSL 0x0090704f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to calliope [X.X.X.56] port 22.
debug1: Connection established.
debug1: identity file /home/bitlord/.ssh/identity type -1
debug1: identity file /home/bitlord/.ssh/id_rsa type 1
debug1: identity file /home/bitlord/.ssh/id_dsa type -1
debug1: Logging to host: SLES
debug1: Local user: bitlord Remote user: bitlord
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1
debug1: match: OpenSSH_5.1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-Sun_SSH_1.1.4
debug1: use_engine is 'yes'
debug1: pkcs11 engine initialized, now setting it as default for RSA, DSA, and symmetric ciphers
debug1: pkcs11 engine initialization complete
debug1: Failed to acquire GSS-API credentials for any mechanisms (No credentials were supplied, or the credentials were unavailable or inaccessible
Unknown code 0
)
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-sha1 none
debug1: kex: client->server aes128-ctr hmac-sha1 none
debug1: Peer sent proposed langtags, ctos:
debug1: Peer sent proposed langtags, stoc:
debug1: We proposed langtags, ctos: en-US
debug1: We proposed langtags, stoc: en-US
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: dh_gen_key: priv key bits set: 165/320
debug1: bits set: 1020/2048
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'SLES' is known and matches the RSA host key.
debug1: Found key in /home/bitlord/.ssh/known_hosts:84
debug1: bits set: 1109/2048
debug1: ssh_rsa_verify: signature correct
debug1: newkeys: mode 1
debug1: set_newkeys: setting new keys for 'out' mode
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: newkeys: mode 0
debug1: set_newkeys: setting new keys for 'in' mode
debug1: SSH2_MSG_NEWKEYS received
debug1: done: ssh_kex2.
debug1: send SSH2_MSG_SERVICE_REQUEST
debug1: got SSH2_MSG_SERVICE_ACCEPT
<>
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Offering agent key: /home/bitlord/.ssh/id_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 149 lastkey 76f18 hint -1
Connection closed by XX.XX.XX.56
debug1: Calling cleanup 0x34d88(0x0)


Does anyone have any ideas?

…read more

Source: FULL ARTICLE at The UNIX and Linux Forums

SSH issue – can't get password less login to work

By bitlord

Hello,
I can’t seem to get the password less login to work on one of my SLES 11 servers. My ssh agent lets me login to all my other servers, which are Solaris 10, RHEL 5, and SLES 11 servers. Some servers mount my home directory and others don’t.

The server that I’m having an issue with doesn’t mount my home directory. I can log in with my password. My agent on a Solaris 10 server is working with the other servers. Usually if the agent is not working it will ask for my passphrase, which leads me to believe it is a configuration issue.

I have copied my pub key over and put in authorized_keys file.

Any ideas?

…read more

Source: FULL ARTICLE at The UNIX and Linux Forums

Creating files with New User

By mrm5102

Hello All,

I just created a new user on a server running SLES 11, and I created the user using the command below:

Code:

# useradd -G nagios scpuser


But whenever I create a file or directory while logged in as this user it creates the file’s ownership permissions as “scpuser:users”
instead of it using the name of the group I added it to when I created it…

Any idea how I can get it to create files/dirs with the user:group combo I used when I created the User…? I’m guessing when
this user creates files/dirs and it gives the group ownership as “users”, I’m guess this is some sort of default behavior?

Anyway, basically I just want this user to create files/dirs and have the ownership/permissions be set
using User=scpuser and Group=nagios
Any idea how I make this the default behavior for this user?

I verified that the scpuser is ONLY listed on one line, and that is with the ‘nagios’ group in /etc/group file.

Any thoughts would be much appreciated!

Thanks in Advance,
Matt

…read more
Source: FULL ARTICLE at The UNIX and Linux Forums

SVN(subversion) installation on SLES 11

By rupeshkp728

I had installed svn on SLES 11 using comands:
zypper addrepo http://download.opensuse.org/reposit…s:scm:svn.repo
zypper refresh
zypper install subversion

But when I run svn it gives me error as:
linux-uw85:~/Desktop # svn help
svn: error while loading shared libraries: libserf-1.so.0: cannot open shared object file: No such file or directory

How to get this library issue resolved?

…read more
Source: FULL ARTICLE at The UNIX and Linux Forums

Failure of Vmware Server 2 installation on SLES 11 SP2

By rupeshkp728

Issue:
I am trying to install Vmware Server 2(VMware-server-2.0.2-203138.x86_64) installation on SUSE Linux Enterprise Server 11 (x86_64) SP2 and it fails with error:
None of the pre-built vmmon modules for VMware Server is suitable for your running kernel. Do you want this program to try to build the vmmon module for your system (you need to have a C compiler installed on your system)? [yes]

Using compiler “/usr/bin/gcc”. Use environment variable CC to override.

Your kernel was built with “gcc” version “4.3.4”, while you are trying to use “/usr/bin/gcc” version “4.3”. This configuration is not recommended and VMware Server may crash if you’ll continue. Please try to use exactly same compiler as one used for building your kernel. Do you want to go with compiler “/usr/bin/gcc” version “4.3” anyway? [no]

Analysis:
When I check the gcc details I see the following
rpm -qa kernel* gcc*
gcc-c++-4.3-62.198
kernel-default-3.0.13-0.27.1
gcc43-4.3.4_20091019-0.22.17
kernel-source-3.0.13-0.27.1
kernel-default-devel-3.0.13-0.27.1
gcc-4.3-62.198
kernel-firmware-20110923-0.7.64
gcc43-c++-4.3.4_20091019-0.22.17
kernel-default-base-3.0.13-0.27.1
#########################################
gcc -v
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure –prefix=/usr –infodir=/usr/share/info –mandir=/usr/share/man –libdir=/usr/lib64 –libexecdir=/usr/lib64 –enable-languages=c,c++,objc,fortran,obj-c++,java,ada –enable-checking=release –with-gxx-include-dir=/usr/include/c++/4.3 –enable-ssp –disable-libssp –with-bugurl=openSUSE:Submitting bug reports – openSUSE –with-pkgversion=’SUSE Linux’ –disable-libgcj –disable-libmudflap –with-slibdir=/lib64 –with-system-zlib –enable-__cxa_atexit –enable-libstdcxx-allocator=new –disable-libstdcxx-pch –enable-version-specific-runtime-libs –program-suffix=-4.3 –enable-linux-futex –without-system-libunwind –with-cpu=generic –build=x86_64-suse-linux
Thread model: posix
gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux)
#########################################
ls -l /usr/bin/gcc*
lrwxrwxrwx 1 root root 7 Mar 1 16:52 /usr/bin/gcc -> gcc-4.3
-rwxr-xr-x 1 root root 234752 Jan 13 2012 /usr/bin/gcc-4.3

I tried uninstalling all gcc then again installed it with zypper in gcc but still the issue persists.
Zypper by default installs gcc 4.3.

How to resolve this and get the vmware server installed?

…read more
Source: FULL ARTICLE at The UNIX and Linux Forums

vnc password hit from Retina

By bitlord

Hello,
I’m having an issue with VNC. Security at work says that they scanned my servers (Solaris, RHEL, SLES) and found that you don’t need a password to access a VNC session. I have tested this and you can’t login to the VNC session without a password. Can someone tell what the Retina scanner may be finding. I can’t find the setting that would be the issue. I have not made any changes to the default vnc files.

Any help would be great.

Source: FULL ARTICLE at The UNIX and Linux Forums