Fedora Servers :: SSH Will Not Accept Connections After Trying To Get VNC Working With Gdm On 11
Aug 1, 2009
I tried to set up vnc following the steps of this webpage:
[URL]
which did not work. I changed everything back the way it was, but when I tried to ssh in to my remote server, the connection timed out? It showed nothing in secure logs. I tried to ssh in through webmin, in asked for auth but did not connect. The logs said this:
Jul 30 12:05:10 server sshd[2829]: Did not receive identification string from 209.139.209.100
I tried to telnet port 22 through the shell in webmin and got this:
> telnet 209.139.209.100 22
Trying 209.139.209.100...
Connected to 209.139.209.100.
Escape character is '^]'.
Connection closed by foreign host.
I tried reinstalling ssh, but got the same errors...It worked fine before the howto. I can't imagine how it changed something in ssh...
View 1 Replies
ADVERTISEMENT
Jul 13, 2010
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.
View 9 Replies
View Related
May 28, 2009
I am writing a server which uses edge-triggered epoll. When the server calls accept(), it just extracts the first connection in the pending queue. If there are more connections that are waiting, can we make the server accept all the pending connections? I wrote a loop like the following:
do {
client_fd = accept(...);
/* Work with the client fd */
} while (client_fd != -1); [/code]
Doesn't seem to work. A related question, more a clarification, is as follows. My understanding was that a connect() at the client returns only when accept() in the server returns. Clearly, I was incorrect. Even with no accept() call in the server, my client was able to connect and send data. Am I getting this right?
View 2 Replies
View Related
Jun 5, 2010
This is on Centos 5.3 by the way..... I had a DVD and, well, just wanted to test some things.. I'm aware that this is not the latest release.
And, by the way (I just read an earlier post) I've added the username and password with which I'm trying to login (..hello?).
I'm at work and I don't have a copy of my Vsftpd configuration file (don't wanna edit this whole thing - actually there is a copy, below). I've used Slackware for years and never had any issues with Vsftpd - it just works. I am trying Centos because I need help with upgrading my mail server (qmail) and there's not much help for Slackware users. Also, I used to run RHEL3 and had vsftpd working fine (had to copy some file to /etc/pam.d) but it worked famously. I compiled all my web server stuff (just don't like these default things where I have no idea how things are integrated) and I'm hung up on - of all things - vsftpd.
Anyway....When I try to log into my ftp server I get "KERBEROS_V4 rejected as an authentication type" and only the anonymous account works. Any other logins produce an error (incorrect login - see ya' later). I have SE Linux and the firewall OFF. I don't recall the directive, precisely, but my vsftpd.conf file is set allow local users to connect. I installed with yum and it added some lines at the bottom (one was about a user list and the other was about PAM). I've got a chroot list and a user list although it's not clear to me precisely where the user list should be placed. I actually uninstalled the RPM and compiled, too. I've done everything but call an exorcist. And I've found tons of posts regarding this on the net and none of the fixes worked. Man - on slackware you type "make" and "make install" (I build it with tcp_wrappers) and you're off to the races.
Actually - I did upload the vsftpd.conf file to work (where I'm at, now). Minus lines that were commented out it looks like this:
Could it, possibly, be something about how I am adding the user, the shell type, etc? I know that in Redhat I used to type "/usr/sbin/useradd -d /home/someuser joe". I've done it that way and I've also done it like so: "useradd -d /home/schmoe -s /bin/bash schmoe".
View 2 Replies
View Related
Feb 25, 2011
I have a bunch of Ubuntu boxes on one subnet, 192.168.1.0. I have a Windows 7 box on another subnet, 192.168.2.0. I am able to ping and SSH to all servers on the .1 subnet except for one server, which I will call PITA. I will attempt to SSH to PITA, and it won't respond, nor does it respond to pings. I will the SSH to PITA from another of the test servers, successfully connect, and then when I SSH from my Windows 7 machine I can connect successfully. If I first connect via console to PITA and send some pings out (to anywhere, like 4.2.2.2), I can also connect from my Windows 7 machine. I've never seen anything like this.
One of the weird things is that I used PITA to create an image that I then used to create many of the other test servers, and they work fine, so I'm not sure what the problem is. I've checked /var/log/messages and syslog and there's nothing in them that indicates a problem. I've rebooted this server, restarted SSH, changed the IP in case it was conflicting with something else, forced an ARP update in case it was cached (since I had bonded the interfaces), cleared the ARP cache on my own machine, verified Network Manager is not installed...and I still have this issue.
Here are some network-related config:
/etc/network/interfaces
Quote:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
[code]....
View 3 Replies
View Related
Feb 18, 2011
Our DBA has an application running on Server2 which needs to connect to Server1 (Linux OEL5.5 server) thru port# 9171. I use telnet to test basic connectivity.What should I do on Server1 in order to open up port#9171 for connection.
View 4 Replies
View Related
Jan 5, 2010
I've recently been asked to setup our FTP server to accept connections from a remote host. They sent me a file "id_dsa.pub" with instructions to add this key to the xfer user.
Unfortunately I've no idea how to do this!
I'm running vsftpd 2.0.5 on Centos 5.3
View 4 Replies
View Related
Jun 22, 2011
I have a web server configured on FC13 (will be upgrading to 14 soon. 15 doesn't support my video card, so that will have to wait).I have it configured with a "name" via dyndns.org, and I can get to it with this name if I am on my home network (192.168.x.x), however if I try to get to the same site from any other location (such as my iphone when not on wifi), it just times out.'ve checked the iptables, and everything seems OK. I know it's not an issue with httpd since the service starts and runs with no problems.Firewall is configured to allow port 80, and my hardware firewall will forward port 80 to my FC server.
View 4 Replies
View Related
Feb 18, 2009
I am able to telnet to the server via a remote connection, but for some reason, it will not accept mail. ere is the bounce back email I am getting.Quote:This is the mail system at host smtp.mydomain.net.I'm sorry to have to inform you that your message could notbe delivered to one or more recipients. It's attached below.For further assistance, please send mail to postmaster.If you do so, please include this problem report. You candelete your own text from the attached returned message.The mail system
<root@mydomain.net>: temporary failure. Command output: pipe: fatal: pipe_command:
execvp /usr/bin/perlbin/vendor/spamc: No such file or directory
Reporting-MTA: dns; smtp.mydomain.net
[code]....
View 11 Replies
View Related
Mar 22, 2009
When setting up my server I noticed that I could control the amount of connections; the maximum seems to be 256. My server is currently windows 2003 server which is unlimited connections - before I change the server to F10 I need to be able to have unlimited connections (I often go over 256 connections, I have 25 web sites hosted). How do I do this on F10 or is there a better distro for web servers that have thousands of Internet connections at the one time?
View 4 Replies
View Related
Mar 5, 2010
I have a machine that I'm trying to setup as a reverse web proxy. It will have two NICs, eth0 will face the public network, and eth1 will face the "internal" network (connects to a switch that goes out to the other web servers that are statically assigned a private IP address).
When both interfaces are started, I can ping hosts on the 1.2.3.0 network and the 192.168.10.0 network without problem when doing so by IP, but if I try to run a ping or nslookup command with a DNS name, it does not work. I've tried commenting out my entries in /etc/resolv.conf and adding the DNS entries in the /etc/sysconfig/network-scripts/ifcfg-ethX files directly (DNS1=x.x.x.x and DNS2=x.x.x.x), but the results are the same.
View 2 Replies
View Related
May 30, 2011
I recently installed Fedora 15 now, and during installation I set the internet connection manually, then did update and after reboot, the internet connection settings have been removed. Now I can not set because the network connection to the Internet Connection is inactive. I mention that before the update was functional internet connection.
View 5 Replies
View Related
Jul 1, 2010
I set up my Postfix/Dovecot Sasl implementation according to the Server Docs. Now it worked both for SSL POP3 and sending via SSL SMTP. But recently it simply stopped accepting my mail, I can't send out.
View 9 Replies
View Related
Oct 1, 2010
A few days ago I installed a new SVN server using ubuntu 10.04 server editiopn at our company and it runs almost flawlessly. Almost that is. The server uses a self-signed certificate so all communications go over https. The strange thing is this. When I run some svn command from my (windows) pc, like update I get asked whether or not I want to accept the certificate. Then I choose "accept permanently" end all goes well. In future command I don't get that question anymore. But when my colleague does the same from his pc, he also gets the same question. Now, when he chooses "accept temporary", all goes smooth. But when he chooses "accept permanently", like I did, he gets an error saying:
RA layer request failed
svn: OPTIONS of 'https://path_to_some_repo': Could not read status line: An established connection was aborted by the software in your host machine.
Of course I googled on this and could find two things: Server settings are wrong
there's something wrong with the firmware of the router. The first couldn't almost be the case since it works for me and I followed the manuals. The second one couldn't be it either because when I log in with my account on my colleague's pc, it works. This is also the case when he logs on to my pc. So the problem exists specifically when he is logged in on his own pc. The setup of this machine is exactly the same as mine.
View 1 Replies
View Related
Feb 7, 2011
have a problem with my network-manager in ubuntu 10.10.when I dial one of my vpn connections, my other vpn connections be disabled and I can't use them!I tried to restart network-manager and gnome-panel, but it does't seem to solve this problem.
View 1 Replies
View Related
Mar 1, 2011
OK, so, basically, not so long ago I had a modem + LAN cable kind of internet setup, and my friends and colleagues had no problem connecting to my Apache, ircd, etc.
But a few months ago my ISP changed it's policy, and now I have a single cable, plugged directly into the 'eth0' port, which connects to WAN (static IP) and, through PPPoE, to the net (dynamic IP). (Sorry, my knowledge in networking is close to nonexistent)
So, now there is a problem. My friends CAN still connect to my FTP and httpd on Windows XP, through both the external, dynamic IP, as well as the static WAN IP, but my Slackware (WAN IP is set up with DHCP, PPPoE - through pppoe-setup, with firewall at '0') is refusing access. No sings of connection is shown in the /var/log/access_log.
Also, VoiceChatter server DOES log the connection attempt, but it refuses connection, sending a 'Auth challenge', and then cutting connection. (The 'challenge' bit was never there before the new net setup)
All connections are done through WAN static IP (though test with netwide dynamic IP yield the same results =)
I run Slackware 13.1, didn't touch the firewall settings at all, and, as mentioned, pppoe firewall is set to '0' value.
View 6 Replies
View Related
Jan 28, 2010
I am noticing really odd behaviour after upgrading from 8.10 to 9.10 (via 9.04). My server frequently becomes unreachable. I am using it as an application server, running Apache, JBoss and MySql. Once the server goes idle, all web connections time out. SSH also times out. Usually the server wakes up on second SSH attempt and then everything: Web, SSH etc seems to run fine.
This is a server machine with no GUI. Can anyone point me to power management or other such settings I can tune from commandline? I have disabled power management by adding kernel parameter acpi=off. I still have the problem. The first network connection after the machine has gone idle takes a long time. All later connections run pretty smoothly.
View 5 Replies
View Related
Mar 11, 2010
I have a small business that I run Squid and Dansguardian on Ubuntu for network proxy filtering, among other things. This works great, but does not block SSL connections on Port 443, such as https proxies. I understand that this is because this type of configuration is a "transparent proxy".
Is there a way to set one up "non-transparent" and, would that filter https?
I cannot blanket block 443, because some sites need it.
I have read that one can re-compile Squid to work with SSL, but not being a super guru, not sure of the implications of doing that.
View 7 Replies
View Related
Jan 9, 2010
I want to set up my laptop to allow connections to certain users with passwords from anywhere over the internet via SSH but I'm unsure about how I would go about doing this. I only thought it would be the case of setting up the open-ssh server on the laptop then, using my external IP and PuTTY on another PC outside of the network, connect to the external IP through port 22 so I tried this and wait 3 or 4 minutes or so and it says the connection times out.
I have also configured my router to use port forwarding but this doesn't seem to help much either and I have LAMP setup to allow connections to external IP : 80. The only thing I am able to do is access the laptop through the local network by using its internal IP's like 127.198.0.1:22 or something. I was wondering if anybody knows if and could tell me how I would do this as I really want to be able to access my home computer/laptop from my work sometimes, especially if I have work at home which is not with me at work or something.
I know this is possible but I'm quite new to this type of thing and don't know what is going wrong. Have I missed something or do I need to change any .conf files or anything?
View 4 Replies
View Related
Feb 24, 2010
My setup:
Ubuntu Karmic Server Edition 64 bit
Dell PowerEdge T610
4 internal NIC RJ45
1 add-on NIC Fibre 1 Gb
Samba 3.4.0
two shares intended for WIN clients
Connections: eth0 (the first internal NIC) is part of a private network of 4 servers connected to a Gb switch. this connections serves as a fast link among these servers to regularly transfer (backup) large quantities of data. Only I can utilise it from within the server room (among those servers, obviously).
eth0: 192.168.0.AA1 eth4 is the Intel add-on NIC with 1 GB fibre connections to the public network of our institution. This is the link/IP my WIN clints have to use to access their shares. eth4: 134.XXX.YYY.ZZ1
My Problem: Despite having including both interfaces in my smb.conf only the internal connection via eth0 lives up to my expectation and delivers up to 50 MB/s. All clients trying to connect via eth4 will be able to see and access the shares, but file transfers commence with speeds severely below 0,5 MB/s with lots of aborts and warnings from the WIN file explorer.
So I experimented with the setting "interfaces" in the global section of smb.conf --- to no avail. I even set samba only to eth4: same problem. Only way to get flawless & fast transfers is the way through eth0. The samba log files of the clients I tried do show some errors, but I fear I am unable to interpret them properly.
/etc/network/interfaces
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface Intel Gb link via fibre
auto eth4
[Code]...
View 5 Replies
View Related
May 25, 2010
I'm curious how I can use a Windows client with two separate accounts to connect, at the same time, to a SMB server hosting two shares. (Provided permissions and accounts are all in order)
Scenario:User1 is always logged onto a Windows client mapped to a Public share on a Linux SMB server.I need a way to keep User1 connected to the Public share and then when needed, allow User1 to provide User2's credentials to connect to a Restricted share.The only way I've been able to do this is to disconnect from the Public Share then reconnect to the Restricted share using User2's credentials. (This is the issue because I need to keep User1 connected to the Public share).Is this a limitation of SMB? Or am I missing a configuration? Please point me in the right direction
View 5 Replies
View Related
Jul 23, 2010
i would like to know how many connections per sec/min/hour, xampp can handle. I'm going to run SMF forum on my box, because i'm not ready yet with real server solution. System stats are: G31M-S2C; 2x2GB Kingston@920Mhz; E5200@3500Mhz; 500GB@7200 Seagate, all powered by Lucid x64. In a time i will migrate to a quad, mobo with raid support, etc. but at that point i'm want to know how much connections can xampp handle. Because of the forum nature, i think of auto deleting topics witn no new replys in 5 days for saving place (there will be minimum 1 and maybe max 5 photos per thread, maximum size 2Mb for each).
View 4 Replies
View Related
Sep 11, 2010
When ever I try to sftp or even ssh into my server I get connection refused.
I have the port forwarded in my router.
What am I missing?
Also I have installed Ngnix so what do I need to do for it to work?
View 5 Replies
View Related
Apr 7, 2010
I have the latest Ubuntu (9.10) desktop. My 2 cards are:
WiFi: Intel(R) Wireless WiFi Link 5100
Ethernet: Marvell Yukon 88E8072 PCI-E Gigabit Ethernet Controller
Is there any way to get drivers working? My hardware switch is on and i have Ubuntu 9.10 running persistently on my usb so i can download the drivers etc. and install them.
View 7 Replies
View Related
Oct 19, 2010
i installed ubuntu 10.10 now im not getting wifi connections and bluetooth also not working
View 2 Replies
View Related
May 11, 2010
Howcome mysql by default is only allowing connections from localhost? I want to access it remotely from another account (not root).
View 1 Replies
View Related
May 21, 2010
I have a question about connections with an ubuntu server. Is there a way to know if the terminal computer (which is connected to my linux server) is using WinSCP to connect (on a Windows platform) or a linux system? It seems they are using the same port (22) and I think the exact same protocol (SSH / SFTP), is there a way to differentiate between the two though? And going farther there, is it possible to limit the connections only to linux terminal computers and reject requests coming from Windows computers?
View 2 Replies
View Related
May 24, 2010
I have slapd-server running but it seems to refuse connections in a very odd way. Wireshark shows that everytime JavaEE-client tries to connect, only 2 packages are sent. As I understand, in tcp/ip protocol, the first is just "hello, who's there". The last is just a message consisting of ACK and RST. I think RST means "we're done". At this point I don't think any credentials are checked so I don't know what could be wrong
View 1 Replies
View Related
Apr 12, 2011
I know Ubuntu can do amazing things, but I was wondering if it can use different Internet connections for different websites.
The Setup: We have 1x unshaped ADSL connection at 4MBPS (fastest available) that's used for office related things, Skype, General browsing etc. We have another ADSL connection, this time shaped and running at 4MBPS, I want to send all requests to facebook, twitter and downloading sites like fileserve, filesonic, hotfile etc. to the shaped connection. Can iptables be used to do this? The unshaped ADSL router is connected to eth0 and has an IP of 192.168.0.1 the shaped ADSL router is connected to eth2 and has an IP of 10.0.2.1 Local lan is connected to eth1 and has a range of 192.168.1.0/24 Can iptables send a certain webpage (*.facebook.*) to eth2 and other pages (*.google.*) to eth0 ?
View 3 Replies
View Related
Jul 17, 2011
I have a ubuntu 10.04 dedicated server that I am having problems with. It intermittently cannot connect to any other servers outside its network.
Code:
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
^C
--- 8.8.8.8 ping statistics ---
8 packets transmitted, 0 received, 100% packet loss, time 7008ms
(I have tried a bunch of other ips too and none outside its network are pingable) I'm not sure if this is a problem with my server or a problem with the networking outside the server. I have been emailing my server provider and they keep on insisting the problem is with the server and that their network is working fine. Apparently all of their other servers work and they can login into the gateway and ping 8.8.8.8 from there. So they just want to reinstall the OS, but I thought I'd post here to see if anyone has any ideas.
Here is some info I have gained while troubleshooting: I haven't changed any settings at all on the server for months. I haven't done any updates for about a week. The strangest thing is that this is intermittent, there have been a few times in the last 24 hours where I have been able to ping 8.8.8.8 or other ips, but 98% of the time I can't. I have also tried rebooting the server, which had no effect. I can ping the gateway, and I can ping other servers on the same subnet. I can ssh onto the server from my home internet connection, and I can view webpages on apache, so incoming connections work.
View 1 Replies
View Related