Ubuntu :: SFTP - Received Message Too Long 1466264675
Apr 6, 2011
After customizing my .bashrc for a nice pretty shell locally I decided I wanted it to look nice remotely to I created a ~/.bash_profile in my home directory so I wouldn't have to type bash upon logging in I'd just be greeted with my colors and customizations. I placed the files on 2 remote locations and ssh'd in and worked just like it wanted it to, later that same day I tried to sftp in to one of the locations and it kept disconnecting me after I'd input my password, but I could still ssh in just fine. After trying a few suggestions from the web like [URL] with no success I decided to ask some friends. They narrowed it down to the motd and echo's in my .bashrc. Finally I asked a very experienced developer about it and so without further adue here is the .bashrc / .bash_profile
BASHRC:
Code:
PS1='[e[0;32m]u[e[1;34m]@h[e[m] [e[1;34m]w[e[m] [e[1;32m]$[e[m] [e[1;37m]'
# Source global definitions
if [ -f /etc/bashrc ]; then
[code]....
Unfortunately I forgot to mention to get it to launch the terminal with the greeting / fortune you have to have the echos uncommented in the .bashrc locally, or know more about shell scripting than I [wouldn't surprise me at all if someone is able to expand upon my bashrc and fix my minor problem] and have it not echo or execute fortune on sftp only somehow. So if you have fortune uncommented be prepared to be unable to sftp IN to the box that it is uncommented on.
View 9 Replies
ADVERTISEMENT
Jul 6, 2011
Installed Fedora 15, ran the updates, so everything is by default, so the .bashrc file just runs the version in /etc
sftp gives me an error message too long.
I went into to the .bashrc file and commented out the call to the /etc version and I still get the sftp error.
How can this be fixed?
View 1 Replies
View Related
Jun 27, 2010
I'm using Fedora 7. I'm Trying to install RealPlayer11GOLD.rpm but i received an error message.
# rpm -ivh RealPlayer11GOLD.rpm
error: Failed dependencies:
rpmlib(PayloadIsLzma) <= 4.4.6-1 is needed by realplay-11.0.2.1744-1.i386
[code]....
View 9 Replies
View Related
Feb 12, 2010
Installed rhel 5.3 on dell r710 with md1000 as das.
After creating raid 0 + 1 and rebooting, received an error message below:
View 14 Replies
View Related
Jul 15, 2011
i have a dell inspiron laptop lap top with windows7 os.my hardisk is 320gb capacity.now i want to install fedora as my secondary os. I tried fedora12 but instaltion terminated abnormally with the message safe reboot needed recievied signal 3. i have 20 gb unallocated space in my disk.
View 5 Replies
View Related
Jul 19, 2010
I thought I would give Linux a try so I installed Opensuse 11.3.
I used the automatic setup and accepted all default settings on a new HD. At end of installation I clicked Firefox and received a "no server" message.
The only info I found was in KDE Chapt. 17 by Lauri Watts. She says that if I have IP, gateway, submask, and dns numbers, Internet connection is easy but she tells nothing about using the numbers. I have those numbers.
How do I get online?
I have a no-proxy, static service.
Why-oh-why-oh-why would an installation end without an online connection? Or at least easy-to-find instructions to get online?
I had to disconnect the new Linux HD and connect to this old Windows HD to contact you.
View 7 Replies
View Related
May 11, 2011
i have problem in socket programming, while displaying received message in file,i got a problem... i cant able to write it in the file.... this is the code....
Code:
/* tcpserver.c */
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdio.h>
[Code]....
now my problem is run time error i can able to create file but i cant able to write file....log.txt contain nothing.... as here i have give sample code... dont say not initialising function and all.... i have initialised , please only see func1() - my problem is only not able to write msg which i got received from the client..
View 2 Replies
View Related
Feb 11, 2010
I was using sftp to pull a file from a system and the transfer aborted with the message:
Code:
Received message too long
followed by a large number and I was kicked all the way out to a shell prompt.
Anyone know what problem might have caused this? I was using the Cygwin's sftp when this happened.
The file I was getting wasn't very large (5.5M) and certainly nowhere near the largest I've grabbed using sftp. Luckily the remote system was 'IX and I was able to dust off my memories of the "split" command (before USB drives became common, "split -b 1400k" was burned into my synapses) and reassemble the file once I got all the chunks transferred. Still, having to do this is weird.
View 1 Replies
View Related
Apr 2, 2010
1. How to login SFTP sever by C/C++ with a TCP socket? That is meant format message to send to SFTP server ( TCP socket);
m_socket = socket( PF_INET, SOCK_STREAM, 0);
....
connect(,,) // connect to SFTP server
After that we must:
send( , message, , ) //send login message to SFTP server
What is the format "login message"?
View 1 Replies
View Related
Apr 13, 2011
i have a vsftpd server running well but i want to make/force all users to use sftp and not just ftp is this possible?
View 1 Replies
View Related
Apr 2, 2010
what "Message too long" error returned by the function dn_expand means?
The function call I used is as follows:
dn_expand(poutput, poutput + output_space_used, *out_rr, output_qname, 255);
I assumed that the error was due to the difference between the 1st argument and 2nd argument, However, changing the difference to the accepted dns message size (512 bytes) or even to no difference at all did nothing to remove the error.
Further, I am trying to check the output after having first compressed a domain name using dn_comp into *out_rr. This function call is in order to check whether the compression is happening correctly.
View 4 Replies
View Related
Jan 9, 2010
just start Ubuntu 9.04 said: File system chek failed a long is beging saved /var/long/fsck/checkfs if that location is writable Please repair the file systmen manually A maintenance shell will now be started Ctr+ D terminate this shell and resume system boot. Give root password for maintenance or type Control +D to continue. I did Ctr+D , and after login said , that can not find /home. I starte with the live cd:
[Code]....
View 9 Replies
View Related
Jul 24, 2011
As a Windows user, I generated a pair of DSA keys from CoreFTP Lite and sent it to a third party that runs an SFTP server. They told me that a valid DSA key needs to have ssh-dsa at the start and the username@systemname at the end. CoreFTP generated neither the ssh-dsa header nor the username@systemname footer. I tried with WinSCP and it didn't generate them either. Is there a difference between how SFTP works between Windows and Linux? If I put a useraccount@systemname at the end of the text will it work? How would the Linux system validate that my system is called "systemname"? If it can't validate, what is the purpose of adding it?
View 2 Replies
View Related
Oct 13, 2009
I am running Centos 5.3. I ran no updates, performed no installs, nor changed any configuration immediately prior to this issue. My problem is this: when I run the command startx (default runlevel 3), it is a long time (5-10 minutes) before Gnome startx, and once it does start applications will not run. Also, when I try to use sudo (from any environment, even ssh), it is a long time (5-10) before the command is executed.
I cannot say for sure, but it seems like this is an intermittent problem. Sometimes X takes a long time to start, but once it starts it will launch programs. Sometimes X takes a long time to launch, but once it starts it will only launch certain programs. Though presently X always takes a long time to start, and I cannot successfully launch any programs.
A while back a had a similar problem to this (x taking long time to start, sudo taking long time to execute) and it ended up being a DNS problem. Unfortunately, I cannot remember exactly what it was and I stupidly did not document it. Maybe this is also DNS related, I don't know.
I don't know what log files to look at for problems with X, Gnome, and sudo taking a long time to start.
View 19 Replies
View Related
Dec 31, 2010
Using IMAP to retrieve emails in Evolution is not working correctly. Some messages are recieved, others are not. Those messages that cannot be recieved, reports the following error message: Unable to retrieve message
Running the following;
evolution 2.28.3-0ubuntu10
Ubuntu 10.04.1 LTS
2.6.32-26-generic
View 4 Replies
View Related
Dec 13, 2010
I have a relatively new computer that won't boot Win 7. After going through a lot of tries, I got a suggestion that I try to boot using Ubuntu from a USB flash drive ( since I can't burn a CD).
I followed the procedure to put the necessary files (Version 10.04 64 bit if I recall correctly) on the drive and tried to boot using it.
I got this message:
When I tried to boot again (from the above) I just got the second message (No DEFAULT etc.)
View 4 Replies
View Related
Apr 30, 2009
Hi I am running a fedora 10 desktop. when i send an email using evolution the message was not sent but returns a error message:"Error while performing operation.DATA command failedError: 550 Viagra SPAM - Hi in Subject" and the message did not have an attachment just plain words. what might have gone wrong for i have been using this for sometime without a problem. or what security measures should be in place to remove this viagra spamAm I infected by virus on this fedora, all my updates are up to date.
View 1 Replies
View Related
Nov 10, 2010
Im trying to instal Sun Virtualbox but when download completes and I click on install I get the following error>>Message did not receive a reply (timeout by message bus) I wont even bother with this software if there are others out there that are as easy to use. I used it on Windows and thought it was great ! (thats how I eventually switched to Linux, by using it virtually at first)
View 5 Replies
View Related
Jan 14, 2010
I am new to Ubuntu almost installed it after windows showed blue screen 4 ever n ever. However after installing ubuntu whenever I log in windows it doesnt detect any network connection but when I use Ubuntu it automatically does can it be that Ubuntu is causing any problem? And how to check how many packets are being sent and received through my wired network and do I have to install any drivers for my modem in Ubuntu.
View 5 Replies
View Related
Apr 13, 2010
I'm having problems logging on to ICQ. This is the error I get:
Received unexpected response from [URL] : useTLS=1 is not allowed for non secure requests.
My pidgin seems to be the latest one. The only thing I have changed is I have upgraded to 64 bit OS.
View 3 Replies
View Related
May 3, 2010
I installed and configured postfix per the guide on help.ubuntu.com. Everything seems to work fine with smtp and it says that my emails are being sent, but I never receive them.What could be causing this problem?The local mailbox shows that the email was sent.Mail.log shows that the message was delivered to the mailbox.
View 5 Replies
View Related
Oct 5, 2010
This has been bugging me for quite a long time. I need to have a pptp connection to my university. I have tried to locate the error, but this has been a real trouble.
A little bit of history: My girlfriend had a laptop with M$ vista on it with a working PPTP connection. I had a laptop with Ubuntu, with which I couldn't get the PPTP working.
When my laptop crashed, I bought a new one on which I run a dual boot XP SP3 and Ubuntu. I also own a desktop (Dual M$ Win 7 / Ubuntu standard Karmic) and my girfriend also upgraded to Win 7.
Currently, the XP version is the only one on which I can get a connection. Both Ubuntu and the Win 7's give me a GRE proc 47 not received error. I know our router (a DAVOLINK DV2020) is notorious for not sending through GRE proc 47, but this either shouldn't be the case or it shouldn't matter, since I can make a perfect connection through the XP OS.
This is quite a handicap, since we both study at the university for which we require working VPN PPTP connections.
Settings:
Gateway: vpn-eur-pptp.eur.nl
Username: 123456ab@eur.nl
Password: password
Authentication: MSCHAP / MSCHAPv2
[Code].....
View 3 Replies
View Related
May 3, 2010
After reading everything that says you don't need an anti-virus for Linux. OR Linux doesn't get viruses. Guess what I have a Virus. I don't know which one, but it is sending out spam emails from my webmail, MSN, account. I do not have a local client installed. I am guessing it is linking into MSN through Pidgin, getting the addresses there, and sending the spam, somehow, through MSN. Actually one MSN and one Hotmail account. I also have not been able to find an anti-virus program for Ubuntu. There do not seem to be any listed in the software repositories that Ubuntu links into. How do I get rid of it? My contacts are starting to get upset.
View 9 Replies
View Related
May 3, 2010
I keep finding packets that appear to be whois on port 44. they appear to originate from me to whois.arin.net (2 packets each time) and 199.212.0.43 (also 2 packets each time) when I put 199.212.0.43 in the URL box it says "Failure To Connect To Web Server". when I whois it it says:
Quote:
Available at [url] And yes, I did get the same packets when I used whois. Why is my computer randomly whoising stuff?
View 3 Replies
View Related
Jun 30, 2010
I was wondering if there was a Windows or Ubuntu way to limit the amount of data that is able to be sent over the internet between certain times, eg. Between the times of 7am and 7pm can only download 300 MB from the web, when this limit is reached the web is either disconnected or slowed down.
View 2 Replies
View Related
Aug 1, 2010
Recently a friend received a couple of emails from someone she knows with web links that purported to be about health issues. She clicked through on two of them; one gave an error, and the other went to a ****** site, so she believes these are "virus" sites. And the person who "sent" the email has just confirmed that his account was "hacked" (I'm guessing actually a virus on his computer). So, two questions:
1) She's running ubuntu 10.04. Is there any reason she should have concerns about her system's security? rkhunter gives no warnings.
2) She is also concerned that it could have compromised her email account (on gmail). I don't see how this is possible, but can anyone confirm about that?
View 1 Replies
View Related
Aug 6, 2010
I am having (seemingly) random trouble with my wired network ever since I installed Lucid. I have no problem getting an ip address from dhcp. However, randomly the computer will boot and although I have an ip address I do not receive any responses for pings on the network nor can I browse the web. If I sudo /etc/init.d/networking restart a few times (or reboot) it will start working. However, restarting the networking services (as mentioned above) again will cause me to no longer receive responses for pings or browse the web.
Furthermore, I have never been able to successfully ping if I manually set an ip address. I have un-installed network manager and I am using /etc/network/interfaces to configure the network. Using Lucid Lynx 64bit on a Dell Precision. I have pasted below the output of a few working commands. When I switch between static ip and dhcp I am commenting/uncommenting the lines shown in /etc/network/interfaces.
sudo lshw -c network
*-network
description: Ethernet interface
product: NetXtreme BCM5754 Gigabit Ethernet PCI Express
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:08:00.0
logical name: eth0
version: 02
serial: 00:23:ae:99:4a:85
size: 100MB/s
capacity: 1GB/s
width: 64 bits
clock: 33MHz
capabilities: pm vpd msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.102 duplex=full firmware=5754-v3.24 ip=10.200.147.153 latency=0 link=yes multicast=yes port=twisted pair speed=100MB/s
resources: irq:78 memory:f7cf0000-f7cfffff
cat /etc/network/interfaces
auto lo
iface lo inet loopback
address 127.0.0.1
auto eth0
#iface eth0 inet static
#address 10.200.147.56
#netmask 255.255.255.0
#broadcast 10.200.147.255
#gateway 10.200.147.1
iface eth0 inet dhcp
View 8 Replies
View Related
Oct 19, 2010
I recently installed Avant Window Navigator and worked fine. My problem is that I don't have on any preferences tab the option to Alert me when Window receive updates. It seems the new version does not have it as previous versions.I was wondering how can I enable the Alerts when Updates are received in windows.PS. I checked all tabs and seems this option is missed.I forgot to mention that I am also new at GNU/Linux.
View 8 Replies
View Related
Mar 6, 2010
I'm debugging some C++ code, but as I know very little about it, I can't find the problem.Here the debugging output:
Quote:
rihab@rihab-laptop:~/ns-test$ gdb ns
(gdb) run /home/rihab/ns-allinone-2.34/ns-2.34/OWNS/demos/owns_demo.tcl[code].....
View 1 Replies
View Related
May 30, 2010
so my Evolution worked fine. I was able to send and receive messages. THen I switched my ISP from a local provider to Comcast. I did nothing to Evolution and now it won't send my emails. I still receive stuff fine. I am using GMail's SMTP server.
Karmic 9.10
Evolution 2.28.1
smtp.gmail.com
I don't see anyplace to include the port number like I could in Thunderbird so I have no idea what port I am using but the thing that is curious is that it doesn't work on Comcast when it did on both my local provider and Sprint's mobile broadband.
View 3 Replies
View Related