Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am new to LinuxQuestions.org forum. I want to build 64 bit linux machine with centOS distribution. I have a machine with windows 7 which I want to clean and instal centOS on it. Can any one suggest me where I can find centOS 64 bit OS and some instruction how to clean and download centOS.
I have successfully installed CentOS6.3 into my machine. I am trying to access this machine through my Laptop using putty. But it is not working. Before that, I set the following in etc/init.d.
1. First restarted init.d # ./sshd restart and then entered iptables -F and uncommented port 22 in the sshd_config file. Remember I am in the same LAN.
Any suggestion please. Your help is highly appreciated.
Server: Show the content of /etc/ssh/sshd_confg and /etc/sysconfig/iptables.
Client: Also, exactly what error msgs did you get.
Server: check /var/log/messages, /var/log/secure log files
Thanks for your quick reply. When I try to connect to my linux machine through my laptop which has window 7 by using PUTTY. I am getting 'Network error: permission denied'.
Can you please suggest me if I miss anything during my connection through putty?
On serverside - sshd_config file has following info.
port 22 (uncommented)
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::
#activation of protocol 1
Protocol 2 (uncommented)
In the /etc/sysconfig/iptables file:
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m state -- state ESTABLISHED, RELATED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A INPUT -j REJECT --reject with icmp-host-prohibited
COMMIT
I didn't change anything on port 22. It is as it. I just uncomment it.
Here are other two files.
var/log/message
an 27 14:17:05 localhost kernel: imklog 5.8.10, log source = /proc/kmsg started.
Jan 27 14:17:05 localhost rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="1486" x-info="http://www.rsyslog.com"] start
Jan 27 14:17:05 localhost kernel: Initializing cgroup subsys cpuset
Jan 27 14:17:05 localhost kernel: Initializing cgroup subsys cpu
Jan 27 14:17:05 localhost kernel: Linux version 2.6.32-279.el6.x86_64 (mockbuild@c6b9.bsys.dev.centos.org) (gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) #1 SMP Fri Jun 22 12:19:21 UTC 2012
Jan 27 14:17:05 localhost kernel: Command line: ro root=/dev/mapper/VolGroup-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD rd_LVM_LV=VolGroup/lv_swap SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_LVM_LV=VolGroup/lv_root KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
Jan 27 14:17:05 localhost kernel: KERNEL supported cpus:
Jan 27 14:17:05 localhost kernel: Intel GenuineIntel
Jan 27 14:17:05 localhost kernel: AMD AuthenticAMD
Jan 27 14:17:05 localhost kernel: Centaur CentaurHauls
Jan 27 14:17:05 localhost kernel: BIOS-provided physical RAM map:
Jan 27 14:17:05 localhost kernel: BIOS-e820: 0000000000000000 - 000000000009ec00 (usable)
Jan 27 14:17:05 localhost kernel: BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
security log
Jan 27 14:17:39 localhost sshd[8119]: Server listening on 0.0.0.0 port 22.
Jan 27 14:17:39 localhost sshd[8119]: Server listening on :: port 22.
Jan 27 19:21:37 localhost sshd[8119]: Received signal 15; terminating.
Jan 27 19:22:47 localhost sshd[8051]: Server listening on 0.0.0.0 port 22.
Jan 27 19:22:47 localhost sshd[8051]: Server listening on :: port 22.
Jan 27 19:22:53 localhost polkitd(authority=local): Registered Authentication Agent for session /org/freedesktop/ConsoleKit/Session1 (system bus name :1.30 [/usr/libexec/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Jan 27 19:25:15 localhost pam: gdm-password[8421]: pam_unix(gdm-password:session): session opened for user rafi by (uid=0)
Jan 27 19:25:15 localhost polkitd(authority=local): Unregistered Authentication Agent for session /org/freedesktop/ConsoleKit/Session1 (system bus name :1.30, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jan 27 19:25:21 localhost polkitd(authority=local): Registered Authentication Agent for session /org/freedesktop/ConsoleKit/Session2 (system bus name :1.54 [/usr/libexec/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.utf8)
Jan 27 19:28:26 localhost su: pam_unix(su:session): session opened for user root by rafi(uid=500)
Jan 27 19:30:01 localhost su: pam_unix(su:session): session closed for user root
@
"secure" 142L, 17806C
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.