Re: sftp 登入失敗
※ 引述《ericlin.bbs@Deer.twbbs.org (ericlin)》之銘言:
: ※ 引述《ilay.bbs@ptt.cc (resolution)》之銘言:
: > winscp 登入錯誤訊息
: > Received too large (1685026670 B) SFTP packet. Max supported packet size is
: > 102400 B.
: > The error is typically caused by message printed from startup script (like
: > profile). The message may start with "down".
: > 前陣子還好好的 突然就不能登入了@@
: > 試過了機器上的所有帳號 結果都是一樣
: > 系統是 FreeBSD 5.4
: 檢查 /etc/csh.cshrc /etc/profile 有沒有會印出訊息的指令...
/etc/csh.cshrc :
# $FreeBSD: src/etc/csh.cshrc,v 1.3 1999/08/27 23:23:40 peter Exp $
#
# System-wide .cshrc file for csh(1).
gnuls --color=auto --show-control-chars
env LC_CTYPE=en_US.ISO_8859-1 ls
setenv CLICOLOR
set color
setenv LSCOLORS ExGxFxdxCxDxDxBxBxExEx
setenv LS_COLORS
'di=0;34:ln=0;35:so=0;32:pi=0;33:ex=0;31:bd=0;34;46:cd=0;34;43'
/etc/profile
# $FreeBSD: src/etc/profile,v 1.14 2004/06/06 11:46:27 schweikh Exp $
#
# System-wide .profile file for sh(1).
#
# Uncomment this to give you the default 4.2 behavior, where disk
# information is shown in K-Blocks
# BLOCKSIZE=K; export BLOCKSIZE
#
# For the setting of languages and character sets please see
# login.conf(5) and in particular the charset and lang options.
# For full locales list check /usr/share/locale/*
# You should also read the setlocale(3) man page for information
# on how to achieve more precise control of locale settings.
#
# Read system messages
# msgs -f
# Allow terminal messages
# mesg y
--
IE7 http://ie7.com
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.134.196.168
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章